26 #if ! defined (octave_ov_re_sparse_h)
27 #define octave_ov_re_sparse_h 1
29 #include "octave-config.h"
106 double double_value (
bool =
false)
const;
109 {
return double_value (frc_str_conv); }
111 Matrix matrix_value (
bool =
false)
const;
113 Complex complex_value (
bool =
false)
const;
115 boolNDArray bool_array_value (
bool warn =
false)
const;
133 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
137 bool save_binary (std::ostream& os,
bool save_as_floats);
139 bool load_binary (std::istream& is,
bool swap,
142 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
146 mxArray * as_mxArray (
bool interleaved)
const;
octave_sparse_matrix(const Sparse< double > &m)
bool is_real_matrix() const
octave_sparse_matrix(const SparseMatrix &m)
octave_sparse_matrix(const Matrix &m)
octave_sparse_matrix(const Sparse< double > &m, const MatrixType &t)
bool is_double_type() const
octave_sparse_matrix(const MSparse< double > &m)
builtin_type_t builtin_type() const
octave_sparse_matrix(const NDArray &m)
octave_base_value * empty_clone() const
~octave_sparse_matrix()=default
octave_sparse_matrix(const octave_sparse_matrix &m)
SparseMatrix sparse_matrix_value(bool=false) const
octave_sparse_matrix(const SparseMatrix &m, const MatrixType &t)
double scalar_value(bool frc_str_conv=false) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_base_value * clone() const
octave_sparse_matrix(const MSparse< double > &m, const MatrixType &t)
Array< octave_value > array_value() const
octave::idx_vector idx_vector
std::complex< double > Complex
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA