26 #if ! defined (octave_ov_complex_h)
27 #define octave_ov_complex_h 1
29 #include "octave-config.h"
77 type_conv_info numeric_demotion_function (
void)
const;
82 bool resize_ok =
false);
104 double double_value (
bool =
false)
const;
106 float float_value (
bool =
false)
const;
109 {
return double_value (frc_str_conv); }
112 {
return float_value (frc_str_conv); }
114 Matrix matrix_value (
bool =
false)
const;
116 FloatMatrix float_matrix_value (
bool =
false)
const;
130 Complex complex_value (
bool =
false)
const;
176 bool save_ascii (std::ostream& os);
178 bool load_ascii (std::istream& is);
180 bool save_binary (std::ostream& os,
bool save_as_floats);
182 bool load_binary (std::istream& is,
bool swap,
198 mxArray * as_mxArray (
void)
const;
Vector representing the dimensions (size) of an Array.
octave_idx_type write(const octave_value &data, octave_idx_type block_size, oct_data_conv::data_type output_type, octave_idx_type skip, mach_info::float_format flt_fmt)
octave_complex(const Complex &c)
~octave_complex(void)=default
float float_scalar_value(bool frc_str_conv=false) const
SparseMatrix sparse_matrix_value(bool=false) const
octave_complex(const octave_complex &c)
octave_base_value * empty_clone(void) const
builtin_type_t builtin_type(void) const
boolNDArray bool_array_value(bool warn=false) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
double scalar_value(bool frc_str_conv=false) const
octave_base_value * clone(void) const
octave_value any(int=0) const
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
bool is_double_type(void) const
bool iscomplex(void) const
bool bool_value(bool warn=false) const
bool is_complex_scalar(void) 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)
std::complex< double > Complex
std::complex< float > FloatComplex
static double as_double(time_t sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_complex octave_complex_scalar
static bool scalar(const dim_vector &dims)