24 #if !defined (octave_ov_re_sparse_h)
25 #define octave_ov_re_sparse_h 1
94 idx_vector index_vector (
bool require_integers =
false)
const;
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;
123 NDArray array_value (
bool =
false)
const;
133 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
139 {
return os.
write (matrix, block_size, output_type, skip, flt_fmt); }
142 bool save_binary (std::ostream& os,
bool& save_as_floats);
144 bool load_binary (std::istream& is,
bool swap,
147 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
151 mxArray *as_mxArray (
void)
const;
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_sparse_matrix(const MSparse< double > &m, const MatrixType &t)
octave_sparse_matrix(const Sparse< double > &m)
SparseMatrix sparse_matrix_value(bool=false) const
octave_sparse_matrix(const MSparse< double > &m)
octave_base_value * empty_clone(void) const
builtin_type_t builtin_type(void) const
octave_sparse_matrix(const SparseMatrix &m)
bool is_real_type(void) const
octave_sparse_matrix(const Sparse< double > &m, const MatrixType &t)
bool is_float_type(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_sparse_matrix(const Matrix &m)
octave_sparse_matrix(const NDArray &m)
bool is_real_matrix(void) const
double scalar_value(bool frc_str_conv=false) const
octave_sparse_matrix(void)
octave_idx_type write(const octave_value &data, octave_idx_type block_size, oct_data_conv::data_type output_type, octave_idx_type skip, oct_mach_info::float_format flt_fmt)
octave_base_value * clone(void) const
octave_sparse_matrix(const octave_sparse_matrix &m)
octave_sparse_matrix(const SparseMatrix &m, const MatrixType &t)
bool is_double_type(void) const
std::complex< double > Complex
~octave_sparse_matrix(void)