26 #if ! defined (octave_ov_flt_complex_h)
27 #define octave_ov_flt_complex_h 1
29 #include "octave-config.h"
81 bool resize_ok =
false);
98 bool isfloat (
void)
const {
return true; }
100 double double_value (
bool =
false)
const;
102 float float_value (
bool =
false)
const;
105 {
return double_value (frc_str_conv); }
108 {
return float_value (frc_str_conv); }
110 Matrix matrix_value (
bool =
false)
const;
112 FloatMatrix float_matrix_value (
bool =
false)
const;
126 Complex complex_value (
bool =
false)
const;
172 bool save_ascii (std::ostream& os);
174 bool load_ascii (std::istream& is);
176 bool save_binary (std::ostream& os,
bool save_as_floats);
178 bool load_binary (std::istream& is,
bool swap,
181 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
185 int write (octave::stream& os,
int block_size,
190 return os.write (
array_value (
true), block_size, output_type,
194 mxArray * as_mxArray (
bool interleaved)
const;
Vector representing the dimensions (size) of an Array.
bool is_complex_scalar(void) const
octave_base_value * clone(void) const
bool bool_value(bool warn=false) const
bool is_single_type(void) const
SparseMatrix sparse_matrix_value(bool=false) const
double scalar_value(bool frc_str_conv=false) const
~octave_float_complex(void)=default
octave_float_complex(const octave_float_complex &c)
int write(octave::stream &os, int block_size, oct_data_conv::data_type output_type, int skip, octave::mach_info::float_format flt_fmt) const
octave_float_complex(const FloatComplex &c)
octave_float_complex(void)
octave_value any(int=0) const
octave_base_value * empty_clone(void) const
builtin_type_t builtin_type(void) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
boolNDArray bool_array_value(bool warn=false) const
bool iscomplex(void) const
float float_scalar_value(bool frc_str_conv=false) const
void resize(octave_idx_type n, const octave_value &rfv=octave_value())
Array< octave_value > array_value(void) const
void warn_logical_conversion(void)
void err_nan_to_logical_conversion(void)
class OCTAVE_API boolNDArray
class OCTAVE_API SparseMatrix
class OCTAVE_API SparseComplexMatrix
std::complex< double > Complex
std::complex< float > FloatComplex
static double as_double(OCTAVE_TIME_T sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_float_complex octave_float_complex_scalar
static bool scalar(const dim_vector &dims)