23 #if ! defined (octave_ov_complex_h)
24 #define octave_ov_complex_h 1
26 #include "octave-config.h"
76 type_conv_info numeric_demotion_function (
void)
const;
81 bool resize_ok =
false);
103 double double_value (
bool =
false)
const;
105 float float_value (
bool =
false)
const;
108 {
return double_value (frc_str_conv); }
111 {
return float_value (frc_str_conv); }
113 Matrix matrix_value (
bool =
false)
const;
115 FloatMatrix float_matrix_value (
bool =
false)
const;
117 NDArray array_value (
bool =
false)
const;
129 Complex complex_value (
bool =
false)
const;
170 bool save_ascii (std::ostream& os);
172 bool load_ascii (std::istream&
is);
176 bool load_binary (std::istream&
is,
bool swap,
188 return os.
write (array_value (
true), block_size, output_type,
192 mxArray *as_mxArray (
void)
const;
boolNDArray bool_array_value(bool warn=false) const
nd group nd example oindent but is performed more efficiently If only and it is a scalar
SparseMatrix sparse_matrix_value(bool=false) const
octave_idx_type write(const octave_value &data, octave_idx_type block_size, oct_data_conv::data_type output_type, octave_idx_type skip, octave::mach_info::float_format flt_fmt)
octave_base_value * clone(void) const
void warn_logical_conversion(void)
bool bool_value(bool warn=false) const
double scalar_value(bool frc_str_conv=false) const
float float_scalar_value(bool frc_str_conv=false) const
bool is_complex_scalar(void) const
octave::mach_info::float_format flt_fmt
void err_nan_to_logical_conversion(void)
builtin_type_t builtin_type(void) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) 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
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_complex(const Complex &c)
nd deftypefn *octave_map m
bool is_complex_type(void) const
octave_complex(const octave_complex &c)
bool is_float_type(void) const
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
bool is_double_type(void) const
octave_base_value * empty_clone(void) const
octave_complex octave_complex_scalar
std::complex< float > FloatComplex
std::complex< double > Complex
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.