24 #if !defined (octave_ov_flt_re_mat_h)
25 #define octave_ov_flt_re_mat_h 1
93 return idx_cache ? *idx_cache : set_idx_cache (
idx_vector (matrix));
130 double double_value (
bool =
false)
const;
132 float float_value (
bool =
false)
const;
135 {
return double_value (frc_str_conv); }
138 {
return float_value (frc_str_conv); }
140 Matrix matrix_value (
bool =
false)
const;
142 FloatMatrix float_matrix_value (
bool =
false)
const;
144 Complex complex_value (
bool =
false)
const;
156 boolNDArray bool_array_value (
bool warn =
false)
const;
160 NDArray array_value (
bool =
false)
const;
179 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
181 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
183 bool save_ascii (std::ostream& os);
185 bool load_ascii (std::istream& is);
187 bool save_binary (std::ostream& os,
bool& save_as_floats);
189 bool load_binary (std::istream& is,
bool swap,
192 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
199 {
return os.
write (matrix, block_size, output_type, skip, flt_fmt); }
205 mxArray *as_mxArray (
void)
const;
int write(octave_stream &os, int block_size, oct_data_conv::data_type output_type, int skip, oct_mach_info::float_format flt_fmt) const
intNDArray< octave_int64 > int64NDArray
octave_float_matrix(const FloatMatrix &m)
intNDArray< octave_uint32 > uint32NDArray
intNDArray< octave_uint8 > uint8NDArray
intNDArray< octave_uint16 > uint16NDArray
int8NDArray int8_array_value(void) const
octave_base_value * clone(void) const
octave_float_matrix(const FloatNDArray &nda)
int16NDArray int16_array_value(void) const
intNDArray< octave_int16 > int16NDArray
F77_RET_T const double const double double * d
uint8NDArray uint8_array_value(void) const
bool is_single_type(void) const
octave_base_value * empty_clone(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_float_matrix(const FloatRowVector &v)
octave_float_matrix(const octave_float_matrix &m)
intNDArray< octave_int8 > int8NDArray
uint16NDArray uint16_array_value(void) const
~octave_float_matrix(void)
octave_float_matrix(void)
idx_vector index_vector(bool=false) const
void * mex_get_data(void) const
uint64NDArray uint64_array_value(void) const
bool is_real_matrix(void) const
octave_float_matrix(const FloatDiagMatrix &d)
uint32NDArray uint32_array_value(void) const
FloatNDArray float_array_value(bool=false) const
int64NDArray int64_array_value(void) const
octave_float_matrix(const FloatColumnVector &v)
intNDArray< octave_int32 > int32NDArray
builtin_type_t builtin_type(void) const
double scalar_value(bool frc_str_conv=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, oct_mach_info::float_format flt_fmt)
int32NDArray int32_array_value(void) const
octave_float_matrix(const FloatMatrix &m, const MatrixType &t)
std::complex< float > FloatComplex
bool is_real_type(void) const
std::complex< double > Complex
octave_float_matrix(const Array< float > &m)
float float_scalar_value(bool frc_str_conv=false) const
bool is_float_type(void) const
intNDArray< octave_uint64 > uint64NDArray