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;
133 int write (octave::stream& os,
int block_size,
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,
148 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
152 mxArray * as_mxArray (
bool interleaved)
const;
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(OCTAVE_TIME_T sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA