23 #if defined (HAVE_CONFIG_H) 55 int nargin = args.length ();
75 tol = args(1).float_value ();
78 error (
"pinv: TOL must be greater than zero");
89 tol = args(1).double_value ();
92 error (
"pinv: TOL must be greater than zero");
108 tol = args(1).float_value ();
111 error (
"pinv: TOL must be greater than zero");
132 tol = args(1).double_value ();
135 error (
"pinv: TOL must be greater than zero");
Matrix pseudo_inverse(double tol=0.0) 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,...)
DiagMatrix diag_matrix_value(bool force=false) const
FloatDiagMatrix float_diag_matrix_value(bool force=false) const
FloatDiagMatrix pseudo_inverse(float tol=0.0f) const
FloatComplexMatrix pseudo_inverse(float tol=0.0) const
FloatMatrix float_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
ComplexDiagMatrix pseudo_inverse(double tol=0.0) const
FloatMatrix pseudo_inverse(float tol=0.0) const
OCTAVE_EXPORT octave_value_list isfloat
ComplexDiagMatrix complex_diag_matrix_value(bool force=false) const
bool is_single_type(void) const
PermMatrix inverse(void) const
FloatComplexDiagMatrix pseudo_inverse(float tol=0.0f) const
void err_wrong_type_arg(const char *name, const char *s)
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool force=false) const
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())
ComplexMatrix pseudo_inverse(double tol=0.0) const
bool iscomplex(void) const
bool is_diag_matrix(void) const
PermMatrix perm_matrix_value(void) const
ComplexMatrix complex_matrix_value(bool frc_str_conv=false) const
DiagMatrix pseudo_inverse(double tol=0.0) const
Matrix matrix_value(bool frc_str_conv=false) const