24 #if !defined (octave_ov_cx_sparse_h)
25 #define octave_ov_cx_sparse_h 1
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;
119 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
134 return os.
write (matrix_value (
true), block_size, output_type,
139 bool save_binary (std::ostream& os,
bool& save_as_floats);
141 bool load_binary (std::istream& is,
bool swap,
144 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
148 mxArray *as_mxArray (
void)
const;
builtin_type_t builtin_type(void) const
octave_sparse_complex_matrix(const octave_sparse_complex_matrix &cm)
bool is_float_type(void) const
octave_sparse_complex_matrix(const Sparse< Complex > &m, const MatrixType &t)
octave_sparse_complex_matrix(const Sparse< Complex > &m)
bool is_complex_matrix(void) const
octave_sparse_complex_matrix(const ComplexMatrix &m)
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_sparse_complex_matrix(const ComplexNDArray &m)
octave_base_value * empty_clone(void) const
octave_sparse_complex_matrix(void)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
double scalar_value(bool frc_str_conv=false) const
octave_sparse_complex_matrix(const SparseComplexMatrix &m)
octave_sparse_complex_matrix(const MSparse< Complex > &m, const MatrixType &t)
octave_base_value * clone(void) const
octave_sparse_complex_matrix(const SparseComplexMatrix &m, const MatrixType &t)
bool is_complex_type(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, oct_mach_info::float_format flt_fmt)
octave_sparse_complex_matrix(const MSparse< Complex > &m)
~octave_sparse_complex_matrix(void)
std::complex< double > Complex
bool is_double_type(void) const