23 #if !defined (octave_ov_flt_complex_h)
24 #define octave_ov_flt_complex_h 1
79 bool resize_ok =
false);
98 double double_value (
bool =
false)
const;
100 float float_value (
bool =
false)
const;
102 double scalar_value (
bool frc_str_conv =
false)
const
103 {
return double_value (frc_str_conv); }
105 float float_scalar_value (
bool frc_str_conv =
false)
const
106 {
return float_value (frc_str_conv); }
108 Matrix matrix_value (
bool =
false)
const;
110 FloatMatrix float_matrix_value (
bool =
false)
const;
112 NDArray array_value (
bool =
false)
const;
124 Complex complex_value (
bool =
false)
const;
136 bool bool_value (
bool warn =
false)
const
162 bool save_ascii (std::ostream& os);
164 bool load_ascii (std::istream& is);
166 bool save_binary (std::ostream& os,
bool& save_as_floats);
168 bool load_binary (std::istream& is,
bool swap,
171 #if defined (HAVE_HDF5)
172 bool save_hdf5 (hid_t loc_id,
const char *name,
bool save_as_floats);
174 bool load_hdf5 (hid_t loc_id,
const char *name);
182 return os.
write (array_value (
true), block_size, output_type,
186 mxArray *as_mxArray (
void)
const;