Navigation

Operators and Keywords

Function List:

C++ API

inv.cc File Reference

#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "ops.h"
#include "ov-re-diag.h"
#include "ov-cx-diag.h"
#include "ov-flt-re-diag.h"
#include "ov-flt-cx-diag.h"
#include "ov-perm.h"
#include "utils.h"

Include dependency graph for inv.cc:


Functions

 DEFUN_DLD (inv, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {[@var{x}, @var{rcond}] =} inv (@var{a})\n\ @deftypefnx {Loadable Function} {[@var{x}, @var{rcond}] =} inverse (@var{a})\n\ Compute the inverse of the square matrix @var{a}. Return an estimate\n\ of the reciprocal condition number if requested, otherwise warn of an\n\ ill-conditioned matrix if the reciprocal condition number is small.\n\ \n\ If called with a sparse matrix, then in general @var{x} will be a full\n\ matrix, and so if possible forming the inverse of a sparse matrix should\n\ be avoided. It is significantly more accurate and faster to do\n\ @code{@var{y} = @var{a} \\ @var{b}}, rather than\n\ @code{@var{y} = inv (@var{a}) * @var{b}}.\n\ @end deftypefn")
 DEFUN_DLD (inverse, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} inverse (@var{a})\n\ See inv.\n\ @end deftypefn")

Function Documentation

DEFUN_DLD ( inverse  ,
args  ,
nargout   
)

DEFUN_DLD ( inv  ,
args  ,
nargout   
)