26#if defined (HAVE_CONFIG_H)
60 int nargin = args.length ();
62 if (nargin < 1 || nargin > 2)
80 tol = args(1).float_value ();
83 error (
"pinv: TOL must be greater than zero");
94 tol = args(1).double_value ();
97 error (
"pinv: TOL must be greater than zero");
113 tol = args(1).float_value ();
116 error (
"pinv: TOL must be greater than zero");
137 tol = args(1).double_value ();
140 error (
"pinv: TOL must be greater than zero");
OCTAVE_API ComplexDiagMatrix pseudo_inverse(double tol=0.0) const
OCTAVE_API ComplexMatrix pseudo_inverse(double tol=0.0) const
OCTAVE_API DiagMatrix pseudo_inverse(double tol=0.0) const
OCTAVE_API FloatComplexDiagMatrix pseudo_inverse(float tol=0.0f) const
OCTAVE_API FloatComplexMatrix pseudo_inverse(float tol=0.0) const
OCTAVE_API FloatDiagMatrix pseudo_inverse(float tol=0.0f) const
OCTAVE_API FloatMatrix pseudo_inverse(float tol=0.0) const
OCTAVE_API Matrix pseudo_inverse(double tol=0.0) const
OCTAVE_API PermMatrix inverse(void) const
DiagMatrix diag_matrix_value(bool force=false) const
FloatDiagMatrix float_diag_matrix_value(bool force=false) const
ComplexMatrix complex_matrix_value(bool frc_str_conv=false) const
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool force=false) const
bool is_diag_matrix(void) const
ComplexDiagMatrix complex_diag_matrix_value(bool force=false) const
FloatMatrix float_matrix_value(bool frc_str_conv=false) const
PermMatrix perm_matrix_value(void) const
bool is_single_type(void) const
Matrix matrix_value(bool frc_str_conv=false) const
bool is_perm_matrix(void) const
FloatComplexMatrix float_complex_matrix_value(bool frc_str_conv=false) const
bool iscomplex(void) const
OCTINTERP_API void print_usage(void)
#define DEFUN(name, args_name, nargout_name, doc)
Macro to define a builtin function.
void error(const char *fmt,...)
void err_wrong_type_arg(const char *name, const char *s)
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.