24 #if ! defined (octave_ov_re_mat_h)
25 #define octave_ov_re_mat_h 1
27 #include "octave-config.h"
85 bool zero_based =
false,
bool cache_index =
false)
89 if (zero_based && cache_index)
96 set_idx_cache (cache);
104 type_conv_info numeric_demotion_function (
void)
const;
145 double double_value (
bool =
false)
const;
147 float float_value (
bool =
false)
const;
150 {
return double_value (frc_str_conv); }
152 Matrix matrix_value (
bool =
false)
const;
154 FloatMatrix float_matrix_value (
bool =
false)
const;
156 Complex complex_value (
bool =
false)
const;
168 boolNDArray bool_array_value (
bool warn =
false)
const;
218 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
220 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
222 bool save_ascii (std::ostream& os);
224 bool load_ascii (std::istream&
is);
228 bool load_binary (std::istream&
is,
bool swap,
238 {
return os.
write (
matrix, block_size, output_type, skip, flt_fmt); }
244 mxArray *as_mxArray (
void)
const;
octave_matrix(const Matrix &m, const MatrixType &t)
octave_base_value * empty_clone(void) const
octave_matrix(const Array< octave_idx_type > &idx, bool zero_based=false, bool cache_index=false)
intNDArray< octave_int64 > int64NDArray
double scalar_value(bool frc_str_conv=false) const
NDArray array_value(bool=false) const
int64NDArray int64_array_value(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, octave::mach_info::float_format flt_fmt)
FloatNDArray float_array_value(bool=false) const
intNDArray< octave_uint32 > uint32NDArray
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
intNDArray< octave_uint8 > uint8NDArray
intNDArray< octave_uint16 > uint16NDArray
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the then the first element defines the pivoting tolerance for the unsymmetric the values defined such that for full matrix
uint16NDArray uint16_array_value(void) const
octave_matrix(const DiagMatrix &d)
octave::mach_info::float_format flt_fmt
octave_matrix(const Matrix &m)
uint32NDArray uint32_array_value(void) const
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
intNDArray< octave_int16 > int16NDArray
bool is_double_type(void) const
uint64NDArray uint64_array_value(void) const
octave_matrix(const RowVector &v)
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &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 F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
int16NDArray int16_array_value(void) const
bool is_real_matrix(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
bool is_real_type(void) const
intNDArray< octave_int8 > int8NDArray
nd deftypefn *octave_map m
octave_matrix(const ColumnVector &v)
octave_matrix(const Array< double > &m)
void * mex_get_data(void) const
octave_matrix(const octave_matrix &m)
int32NDArray int32_array_value(void) const
intNDArray< octave_int32 > int32NDArray
int8NDArray int8_array_value(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_matrix(const NDArray &nda)
octave_matrix(const NDArray &nda, const idx_vector &cache)
std::complex< float > FloatComplex
octave_base_value * clone(void) const
uint8NDArray uint8_array_value(void) const
bool is_float_type(void) const
std::complex< double > Complex
builtin_type_t builtin_type(void) const
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.
idx_vector index_vector(bool=false) const
intNDArray< octave_uint64 > uint64NDArray