Home > freetb4matlab > linear-algebra > bicg.m

bicg

PURPOSE ^

% Solve the system @var{A}*@var{x} = @var{b} using the biconjugate gradient method.

SYNOPSIS ^

function x = bicg(A,b,tol,maxit,M)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {@var{x}} bicg (@var{A},@var{b},@var{tol},@var{maxit},@var{M})
% Solve the system @var{A}*@var{x} = @var{b} using the biconjugate gradient method.
% For having a good convergence, A must be sparse.
% @var{tol} specifies the tolerance of the method by default tol is 10e-6, @var{maxit} 
% specifies the maximal number of iterations and @var{M} is a preconditiner.
% @seealso{pcg,lu,chol}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003