26 #if ! defined (octave_ov_re_sparse_h)
27 #define octave_ov_re_sparse_h 1
29 #include "octave-config.h"
96 idx_vector index_vector (
bool require_integers =
false)
const;
102 bool isreal (
void)
const {
return true; }
108 double double_value (
bool =
false)
const;
111 {
return double_value (frc_str_conv); }
113 Matrix matrix_value (
bool =
false)
const;
115 Complex complex_value (
bool =
false)
const;
117 boolNDArray bool_array_value (
bool warn =
false)
const;
135 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
143 {
return os.
write (matrix, block_size, output_type, skip, flt_fmt); }
146 bool save_binary (std::ostream& os,
bool save_as_floats);
148 bool load_binary (std::istream& is,
bool swap,
155 mxArray * as_mxArray (
void)
const;
octave_idx_type write(const octave_value &data, octave_idx_type block_size, oct_data_conv::data_type output_type, octave_idx_type skip, mach_info::float_format flt_fmt)
octave_sparse_matrix(const Sparse< double > &m)
octave_sparse_matrix(const SparseMatrix &m)
bool is_real_matrix(void) const
octave_sparse_matrix(const Matrix &m)
octave_sparse_matrix(const Sparse< double > &m, const MatrixType &t)
octave_sparse_matrix(const MSparse< double > &m)
octave_sparse_matrix(const NDArray &m)
~octave_sparse_matrix(void)=default
octave_sparse_matrix(const octave_sparse_matrix &m)
octave_base_value * empty_clone(void) const
SparseMatrix sparse_matrix_value(bool=false) const
octave_sparse_matrix(void)
octave_sparse_matrix(const SparseMatrix &m, const MatrixType &t)
bool is_double_type(void) const
double scalar_value(bool frc_str_conv=false) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_value map(double(*fcn)(double)) const
builtin_type_t builtin_type(void) const
octave_sparse_matrix(const MSparse< double > &m, const MatrixType &t)
octave_base_value * clone(void) const
Array< octave_value > array_value(void) const
std::complex< double > Complex
static double as_double(time_t sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA