24 #if !defined (octave_ov_cx_mat_h)
25 #define octave_ov_cx_mat_h 1
89 type_conv_info numeric_demotion_function (
void)
const;
103 double double_value (
bool =
false)
const;
105 float float_value (
bool =
false)
const;
108 {
return double_value (frc_str_conv); }
111 {
return float_value (frc_str_conv); }
113 NDArray array_value (
bool =
false)
const;
115 Matrix matrix_value (
bool =
false)
const;
117 FloatMatrix float_matrix_value (
bool =
false)
const;
119 Complex complex_value (
bool =
false)
const;
131 boolNDArray bool_array_value (
bool warn =
false)
const;
133 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
149 bool save_ascii (std::ostream& os);
151 bool load_ascii (std::istream& is);
153 bool save_binary (std::ostream& os,
bool& save_as_floats);
155 bool load_binary (std::istream& is,
bool swap,
158 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
167 return os.
write (matrix_value (
true), block_size, output_type,
171 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
173 mxArray *as_mxArray (
void)
const;
bool is_complex_type(void) const
bool is_float_type(void) const
octave_base_value * clone(void) const
ComplexNDArray complex_array_value(bool=false) const
octave_complex_matrix(const ComplexMatrix &m, const MatrixType &t)
octave_complex_matrix(const ComplexRowVector &v)
F77_RET_T const double const double double * d
octave_base_value * empty_clone(void) const
octave_complex_matrix(const Array< Complex > &m)
~octave_complex_matrix(void)
builtin_type_t builtin_type(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_complex_matrix(const ComplexMatrix &m)
bool is_double_type(void) const
bool is_complex_matrix(void) const
float float_scalar_value(bool frc_str_conv=false) const
double scalar_value(bool frc_str_conv=false) const
octave_complex_matrix(const ComplexColumnVector &v)
int write(octave_stream &os, int block_size, oct_data_conv::data_type output_type, int skip, oct_mach_info::float_format flt_fmt) const
octave_complex_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)
std::complex< float > FloatComplex
octave_complex_matrix(const octave_complex_matrix &cm)
std::complex< double > Complex
octave_complex_matrix(const ComplexNDArray &m)
octave_complex_matrix(const ComplexDiagMatrix &d)