24 #if ! defined (octave_ov_cx_mat_h) 25 #define octave_ov_cx_mat_h 1 27 #include "octave-config.h" 89 type_conv_info numeric_demotion_function (
void)
const;
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); }
115 Matrix matrix_value (
bool =
false)
const;
117 FloatMatrix float_matrix_value (
bool =
false)
const;
119 Complex complex_value (
bool =
false)
const;
131 boolNDArray bool_array_value (
bool warn =
false)
const;
133 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
152 bool save_ascii (std::ostream&
os);
154 bool load_ascii (std::istream&
is);
158 bool load_binary (std::istream&
is,
bool swap,
170 return os.
write (matrix_value (
true), block_size, output_type,
174 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false)
const;
176 mxArray * as_mxArray (
void)
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, mach_info::float_format flt_fmt)
octave_base_value * clone(void) const
characters Given a string matrix
ComplexNDArray complex_array_value(bool=false) const
octave::mach_info::float_format flt_fmt
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
double scalar_value(bool frc_str_conv=false) const
octave_complex_matrix(const ComplexMatrix &m, const MatrixType &t)
octave_complex_matrix(const ComplexRowVector &v)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
float float_scalar_value(bool frc_str_conv=false) const
octave_complex_matrix(const Array< Complex > &m)
static double as_double(time_t sec, long usec)
bool is_complex_matrix(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
nd deftypefn *std::string name
octave_complex_matrix(const ComplexMatrix &m)
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
Array< octave_value > array_value(void) const
octave_complex_matrix(const ComplexColumnVector &v)
octave_complex_matrix(void)
builtin_type_t builtin_type(void) const
octave_base_value * empty_clone(void) const
std::complex< float > FloatComplex
bool is_double_type(void) const
octave_complex_matrix(const octave_complex_matrix &cm)
std::complex< double > Complex
write the output to stdout if nargout is
octave_complex_matrix(const ComplexNDArray &m)
octave_complex_matrix(const ComplexDiagMatrix &d)
bool iscomplex(void) const