#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "utils.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"
Go to the source code of this file.
Functions | |
DEFUN_DLD (pinv, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} pinv (@var{x})\n\ @deftypefnx {Loadable Function} {} pinv (@var{x}, @var{tol})\n\ Return the pseudoinverse of @var{x}. Singular values less than\n\ @var{tol} are ignored.\n\ \n\ If the second argument is omitted, it is taken to be\n\ \n\ @example\n\ tol = max (size (@var{x})) * sigma_max (@var{x}) * eps,\n\ @end example\n\ \n\ @noindent\n\ where @code{sigma_max (@var{x})} is the maximal singular value of @var{x}.\n\ @end deftypefn") |
DEFUN_DLD | ( | pinv | , | |
args | ||||
) |
Definition at line 39 of file pinv.cc.
References arg(), octave_value::columns(), octave_value::complex_diag_matrix_value(), octave_value::complex_matrix_value(), octave_value::diag_matrix_value(), empty_arg(), error(), error_state, octave_value::float_complex_diag_matrix_value(), octave_value::float_complex_matrix_value(), octave_value::float_diag_matrix_value(), octave_value::float_matrix_value(), gripe_wrong_type_arg(), PermMatrix::inverse(), octave_value::is_complex_type(), octave_value::is_diag_matrix(), octave_value::is_perm_matrix(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::matrix_value(), octave_value(), octave_value::perm_matrix_value(), print_usage(), ComplexMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), ComplexDiagMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), octave_value::rows(), and warning().