26 #if ! defined (octave_ov_flt_cx_mat_h)
27 #define octave_ov_flt_cx_mat_h 1
29 #include "octave-config.h"
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 Complex complex_value (
bool =
false)
const;
129 boolNDArray bool_array_value (
bool warn =
false)
const;
131 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
150 bool save_ascii (std::ostream& os);
152 bool load_ascii (std::istream& is);
154 bool save_binary (std::ostream& os,
bool save_as_floats);
156 bool load_binary (std::istream& is,
bool swap,
168 return os.
write (matrix_value (
true), block_size, output_type,
172 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
174 mxArray * as_mxArray (
void)
const;
N Dimensional Array with copy-on-write semantics.
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)
builtin_type_t builtin_type(void) const
octave_float_complex_matrix(const FloatComplexDiagMatrix &d)
octave_float_complex_matrix(const FloatComplexMatrix &m)
bool iscomplex(void) const
~octave_float_complex_matrix(void)=default
octave_float_complex_matrix(const octave_float_complex_matrix &cm)
octave_float_complex_matrix(void)
octave_float_complex_matrix(const Array< FloatComplex > &m)
ComplexNDArray complex_array_value(bool=false) const
octave_float_complex_matrix(const FloatComplexNDArray &m)
octave_base_value * clone(void) const
double 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, octave::mach_info::float_format flt_fmt) const
octave_float_complex_matrix(const FloatComplexMatrix &m, const MatrixType &t)
bool is_single_type(void) const
octave_base_value * empty_clone(void) const
octave_float_complex_matrix(const FloatComplexColumnVector &v)
float float_scalar_value(bool frc_str_conv=false) const
bool is_complex_matrix(void) const
octave_float_complex_matrix(const FloatComplexRowVector &v)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
std::complex< double > Complex
std::complex< float > FloatComplex
static double as_double(time_t sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA