26 #if defined (HAVE_CONFIG_H)
43 #if defined (OCTAVE_ENABLE_64)
44 # define CXSPARSE_NAME(name) cs_dl ## name
46 # define CXSPARSE_NAME(name) cs_di ## name
49 #if defined (HAVE_CXSPARSE)
56 ret.
xelem (i) = p[i] + 1;
89 if (nargout <= 1 || rank)
96 if (jmatch[nr+i] >= 0)
98 retval(0) =
static_cast<double> (
r);
101 retval(0) =
put_int (jmatch + nr, nc);
125 DEFUN (dmperm, args, nargout,
189 #if defined (HAVE_CXSPARSE)
191 if (args.length () != 1)
198 octave_unused_parameter (args);
199 octave_unused_parameter (nargout);
222 DEFUN (sprank, args, nargout,
237 #if defined (HAVE_CXSPARSE)
239 if (args.length () != 1)
246 octave_unused_parameter (args);
247 octave_unused_parameter (nargout);
OCTARRAY_OVERRIDABLE_FUNC_API T & xelem(octave_idx_type n)
Size of the specified dimension.
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)
octave_idx_type * xridx(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
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
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(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_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.