Previous: Functions of a Matrix, Up: Linear Algebra [Contents][Index]
Solve A x = b using the Bi-conjugate gradient iterative method.
min (20, numel (b)) is used.
zeros (size (b)) is used.
A can be passed as a matrix or as a function handle or
inline function f such that f(x, "notransp") = A*x
and f(x, "transp") = A'*x.
The preconditioner P is given as P = M1 * M2.
Both M1 and M2 can be passed as a matrix or as
a function handle or inline function g such that
g(x, "notransp") = M1 \ x or g(x, "notransp") = M2 \ x and
g(x, "transp") = M1' \ x or g(x, "transp") = M2' \ x.
If called with more than one output parameter
(the value 2 is unused but skipped for compatibility).
Solve A x = b using the stabilizied Bi-conjugate gradient iterative
method.
min (20, numel (b)) is
used.
zeros (size (b)) is used.
A can be passed as a matrix or as a function handle or
inline function f such that f(x) = A*x.
The preconditioner P is given as P = M1 * M2.
Both M1 and M2 can be passed as a matrix or as a function
handle or inline function g such that g(x) = M1 \ x or
g(x) = M2 \ x.
If called with more than one output parameter
(the value 2 is unused but skipped for compatibility).
Solve A x = b, where A is a square matrix, using the
Conjugate Gradients Squared method.
min (20, numel (b)) is
used.
zeros (size (b)) is used.
A can be passed as a matrix or as a function handle or
inline function f such that f(x) = A*x.
The preconditioner P is given as P = M1 * M2.
Both M1 and M2 can be passed as a matrix or as a function
handle or inline function g such that g(x) = M1 \ x or
g(x) = M2 \ x.
If called with more than one output parameter
(the value 2 is unused but skipped for compatibility).
Solve A x = b using the Preconditioned GMRES iterative method
with restart, a.k.a. PGMRES(m).
min (10, numel (b) / restart) is used.
zeros (size (b)) is used.
numel (b) is used.
Argument A can be passed as a matrix, function handle, or
inline function f such that f(x) = A*x.
The preconditioner P is given as P = M1 * M2.
Both M1 and M2 can be passed as a matrix, function handle, or
inline function g such that g(x) = M1\x or g(x) = M2\x.
Besides the vector x, additional outputs are:
Solve A x = b using the Quasi-Minimal Residual iterative
method (without look-ahead).
min (20, numel (b)) is used.
zeros (size (b)) is used.
A can be passed as a matrix or as a function handle or
inline function f such that f(x, "notransp") = A*x
and f(x, "transp") = A'*x.
The preconditioner P is given as P = M1 * M2.
Both M1 and M2 can be passed as a matrix or as
a function handle or inline function g such that
g(x, "notransp") = M1 \ x or g(x, "notransp") = M2 \ x and
g(x, "transp") = M1' \ x or g(x, "transp") = M2' \ x.
If called with more than one output parameter
(the value 2 is unused but skipped for compatibility).
References:
Previous: Functions of a Matrix, Up: Linear Algebra [Contents][Index]