26 #if defined (HAVE_CONFIG_H)
41 #if defined (OCTAVE_ENABLE_64)
42 # define CXSPARSE_NAME(name) cs_dl ## name
44 # define CXSPARSE_NAME(name) cs_di ## name
47 #if defined (HAVE_CXSPARSE)
54 ret.
xelem (i) = p[i] + 1;
87 if (nargout <= 1 || rank)
94 if (jmatch[nr+i] >= 0)
96 retval(0) =
static_cast<double> (
r);
119 DEFUN (dmperm, args, nargout,
143 #if defined (HAVE_CXSPARSE)
145 if (args.length () != 1)
152 octave_unused_parameter (args);
153 octave_unused_parameter (nargout);
176 DEFUN (sprank, args, nargout,
191 #if defined (HAVE_CXSPARSE)
193 if (args.length () != 1)
200 octave_unused_parameter (args);
201 octave_unused_parameter (nargout);
T & xelem(octave_idx_type n)
Size of the specified dimension.
octave_idx_type * xridx(void)
octave_idx_type nnz(void) const
Actual number of nonzero terms.
octave_idx_type nzmax(void) const
Amount of storage for nonzero elements.
octave_idx_type * xcidx(void)
SparseMatrix sparse_matrix_value(bool frc_str_conv=false) const
octave_idx_type rows(void) const
octave_idx_type columns(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.
static octave_value_list dmperm_internal(bool rank, const octave_value arg, int nargout)
static RowVector put_int(octave::suitesparse_integer *p, octave_idx_type n)
#define CXSPARSE_NAME(name)
void err_disabled_feature(const std::string &fcn, const std::string &feature, const std::string &pkg)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
suitesparse_integer * to_suitesparse_intptr(octave_idx_type *i)
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.