24 #if !defined (octave_ov_flt_cx_mat_h)
25 #define octave_ov_flt_cx_mat_h 1
102 double double_value (
bool =
false)
const;
104 float float_value (
bool =
false)
const;
106 double scalar_value (
bool frc_str_conv =
false)
const
107 {
return double_value (frc_str_conv); }
109 float float_scalar_value (
bool frc_str_conv =
false)
const
110 {
return float_value (frc_str_conv); }
112 Matrix matrix_value (
bool =
false)
const;
114 FloatMatrix float_matrix_value (
bool =
false)
const;
116 Complex complex_value (
bool =
false)
const;
128 boolNDArray bool_array_value (
bool warn =
false)
const;
130 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
146 bool save_ascii (std::ostream& os);
148 bool load_ascii (std::istream& is);
150 bool save_binary (std::ostream& os,
bool& save_as_floats);
152 bool load_binary (std::istream& is,
bool swap,
155 #if defined (HAVE_HDF5)
156 bool save_hdf5 (hid_t loc_id,
const char *name,
bool save_as_floats);
158 bool load_hdf5 (hid_t loc_id,
const char *name);
166 return os.
write (matrix_value (
true), block_size, output_type,
170 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
172 mxArray *as_mxArray (
void)
const;