23 #if !defined (octave_ov_flt_complex_h)
24 #define octave_ov_flt_complex_h 1
78 bool resize_ok =
false);
97 double double_value (
bool =
false)
const;
99 float float_value (
bool =
false)
const;
102 {
return double_value (frc_str_conv); }
105 {
return float_value (frc_str_conv); }
107 Matrix matrix_value (
bool =
false)
const;
109 FloatMatrix float_matrix_value (
bool =
false)
const;
111 NDArray array_value (
bool =
false)
const;
123 Complex complex_value (
bool =
false)
const;
161 bool save_ascii (std::ostream& os);
163 bool load_ascii (std::istream& is);
165 bool save_binary (std::ostream& os,
bool& save_as_floats);
167 bool load_binary (std::istream& is,
bool swap,
170 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
179 return os.
write (array_value (
true), block_size, output_type,
183 mxArray *as_mxArray (
void)
const;
float float_scalar_value(bool frc_str_conv=false) 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
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
octave_base_value * empty_clone(void) const
bool is_single_type(void) const
boolNDArray bool_array_value(bool warn=false) const
octave_base_value * clone(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_value any(int=0) const
double scalar_value(bool frc_str_conv=false) const
F77_RET_T const double const double * f
bool bool_value(bool warn=false) const
octave_float_complex(const octave_float_complex &c)
bool is_complex_type(void) const
void gripe_nan_to_logical_conversion(void)
bool is_complex_scalar(void) const
octave_float_complex(const FloatComplex &c)
builtin_type_t builtin_type(void) const
bool is_float_type(void) const
void gripe_logical_conversion(void)
octave_float_complex(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)
octave_float_complex octave_float_complex_scalar
ColumnVector imag(const ComplexColumnVector &a)
std::complex< float > FloatComplex
SparseMatrix sparse_matrix_value(bool=false) const
std::complex< double > Complex
ColumnVector real(const ComplexColumnVector &a)
~octave_float_complex(void)
static bool scalar(const dim_vector &dims)