26 #if defined (HAVE_CONFIG_H)
48 #define MAYBE_CAST(VAR, CLASS) \
49 const CLASS *VAR = (arg.type_id () == CLASS::static_type_id () \
50 ? dynamic_cast<const CLASS *> (&arg.get_rep ()) \
53 DEFUN (det, args, nargout,
70 if (args.length () != 1)
144 FloatDET det =
m.determinant (mtype, info, rcond);
148 rep->matrix_type (mtype);
163 rep->matrix_type (mtype);
177 DET det =
m.determinant (info, rcond);
186 MatrixType mtype = (rep ? rep -> matrix_type ()
188 DET det =
m.determinant (mtype, info, rcond);
192 rep->matrix_type (mtype);
213 MatrixType mtype = (rep ? rep -> matrix_type ()
215 ComplexDET det =
m.determinant (mtype, info, rcond);
219 rep->matrix_type (mtype);
void resize(const dim_vector &dv, const T &rfv)
Size of the specified dimension.
ComplexDET determinant(void) const
DET determinant(void) const
FloatComplexDET determinant(void) const
FloatDET determinant(void) const
octave_idx_type determinant(void) const
SparseMatrix sparse_matrix_value(bool frc_str_conv=false) const
bool issparse(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
octave_idx_type rows(void) const
FloatComplexDiagMatrix float_complex_diag_matrix_value(bool force=false) const
bool is_diag_matrix(void) const
octave_idx_type columns(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
SparseComplexMatrix sparse_complex_matrix_value(bool frc_str_conv=false) const
OCTINTERP_API void print_usage(void)
#define DEFUN(name, args_name, nargout_name, doc)
Macro to define a builtin function.
#define MAYBE_CAST(VAR, CLASS)
void err_square_matrix_required(const char *fcn, const char *name)
void err_wrong_type_arg(const char *name, const char *s)
std::complex< double > Complex
std::complex< float > FloatComplex
octave_value::octave_value(const Array< char > &chm, char type) return retval
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.