24 #if ! defined (octave_ov_flt_cx_mat_h) 25 #define octave_ov_flt_cx_mat_h 1 27 #include "octave-config.h" 99 bool isfloat (
void)
const {
return true; }
101 double double_value (
bool =
false)
const;
103 float float_value (
bool =
false)
const;
106 {
return double_value (frc_str_conv); }
109 {
return float_value (frc_str_conv); }
111 Matrix matrix_value (
bool =
false)
const;
113 FloatMatrix float_matrix_value (
bool =
false)
const;
115 Complex complex_value (
bool =
false)
const;
127 boolNDArray bool_array_value (
bool warn =
false)
const;
129 charNDArray char_array_value (
bool frc_str_conv =
false)
const;
148 bool save_ascii (std::ostream&
os);
150 bool load_ascii (std::istream&
is);
154 bool load_binary (std::istream&
is,
bool swap,
166 return os.
write (matrix_value (
true), block_size, output_type,
170 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false)
const;
172 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 * empty_clone(void) const
characters Given a string matrix
octave_float_complex_matrix(void)
octave_float_complex_matrix(const Array< FloatComplex > &m)
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
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
bool is_complex_matrix(void) const
static double as_double(time_t sec, long usec)
double scalar_value(bool frc_str_conv=false) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_base_value * clone(void) const
nd deftypefn *std::string name
float float_scalar_value(bool frc_str_conv=false) const
bool is_single_type(void) 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 octave_float_complex_matrix &cm)
ComplexNDArray complex_array_value(bool=false) const
bool iscomplex(void) const
octave_float_complex_matrix(const FloatComplexRowVector &v)
octave_float_complex_matrix(const FloatComplexMatrix &m, const MatrixType &t)
builtin_type_t builtin_type(void) const
octave_float_complex_matrix(const FloatComplexMatrix &m)
octave_float_complex_matrix(const FloatComplexColumnVector &v)
std::complex< float > FloatComplex
std::complex< double > Complex
write the output to stdout if nargout is
octave_float_complex_matrix(const FloatComplexNDArray &m)
octave_float_complex_matrix(const FloatComplexDiagMatrix &d)