26 #if ! defined (octave_ov_cx_sparse_h)
27 #define octave_ov_cx_sparse_h 1
29 #include "octave-config.h"
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;
121 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
138 return os.
write (matrix_value (
true), block_size, output_type,
143 bool save_binary (std::ostream& os,
bool save_as_floats);
145 bool load_binary (std::istream& is,
bool swap,
152 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)
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
~octave_sparse_complex_matrix(void)=default
double scalar_value(bool frc_str_conv=false) const
bool iscomplex(void) const
octave_sparse_complex_matrix(void)
octave_sparse_complex_matrix(const octave_sparse_complex_matrix &cm)
octave_sparse_complex_matrix(const SparseComplexMatrix &m, const MatrixType &t)
octave_base_value * empty_clone(void) const
octave_sparse_complex_matrix(const MSparse< Complex > &m)
bool is_double_type(void) const
bool is_complex_matrix(void) const
octave_sparse_complex_matrix(const MSparse< Complex > &m, const MatrixType &t)
octave_sparse_complex_matrix(const SparseComplexMatrix &m)
octave_sparse_complex_matrix(const ComplexNDArray &m)
octave_base_value * clone(void) const
octave_sparse_complex_matrix(const ComplexMatrix &m)
octave_sparse_complex_matrix(const Sparse< Complex > &m)
builtin_type_t builtin_type(void) const
octave_sparse_complex_matrix(const Sparse< Complex > &m, const MatrixType &t)
std::complex< double > Complex
static double as_double(time_t sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA