24 #if !defined (octave_ov_flt_cx_mat_h)
25 #define octave_ov_flt_cx_mat_h 1
101 double double_value (
bool =
false)
const;
103 float float_value (
bool =
false)
const;
106 {
return double_value (frc_str_conv); }
109 {
return float_value (frc_str_conv); }
111 Matrix matrix_value (
bool =
false)
const;
113 FloatMatrix float_matrix_value (
bool =
false)
const;
115 Complex complex_value (
bool =
false)
const;
127 boolNDArray bool_array_value (
bool warn =
false)
const;
129 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
145 bool save_ascii (std::ostream& os);
147 bool load_ascii (std::istream& is);
149 bool save_binary (std::ostream& os,
bool& save_as_floats);
151 bool load_binary (std::istream& is,
bool swap,
154 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
163 return os.
write (matrix_value (
true), block_size, output_type,
167 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
169 mxArray *as_mxArray (
void)
const;
double scalar_value(bool frc_str_conv=false) const
~octave_float_complex_matrix(void)
octave_base_value * clone(void) const
octave_float_complex_matrix(void)
octave_float_complex_matrix(const Array< FloatComplex > &m)
bool is_single_type(void) const
F77_RET_T const double const double double * d
ComplexNDArray complex_array_value(bool=false) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
float float_scalar_value(bool frc_str_conv=false) const
octave_float_complex_matrix(const octave_float_complex_matrix &cm)
bool is_complex_type(void) const
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
builtin_type_t builtin_type(void) const
octave_float_complex_matrix(const FloatComplexRowVector &v)
octave_float_complex_matrix(const FloatComplexMatrix &m, const MatrixType &t)
octave_float_complex_matrix(const FloatComplexMatrix &m)
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_float_complex_matrix(const FloatComplexColumnVector &v)
std::complex< float > FloatComplex
std::complex< double > Complex
bool is_float_type(void) const
octave_base_value * empty_clone(void) const
octave_float_complex_matrix(const FloatComplexNDArray &m)
octave_float_complex_matrix(const FloatComplexDiagMatrix &d)
bool is_complex_matrix(void) const