26 #if ! defined (octave_ov_bool_mat_h)
27 #define octave_ov_bool_mat_h 1
29 #include "octave-config.h"
74 set_idx_cache (cache);
88 type_conv_info numeric_conversion_function (
void)
const;
94 return m_idx_cache ? *m_idx_cache
104 bool isreal (
void)
const {
return true; }
132 double double_value (
bool =
false)
const;
134 float float_value (
bool =
false)
const;
137 {
return double_value (frc_str_conv); }
151 Complex complex_value (
bool =
false)
const;
175 retval(i) =
static_cast<char> (m_matrix(i));
195 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
211 void invert (
void) { matrix_ref ().invert (); }
213 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
215 bool save_ascii (std::ostream& os);
217 bool load_ascii (std::istream& is);
219 bool save_binary (std::ostream& os,
bool save_as_floats);
221 bool load_binary (std::istream& is,
bool swap,
224 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
228 int write (octave::stream& os,
int block_size,
231 {
return os.write (m_matrix, block_size, output_type, skip, flt_fmt); }
233 mxArray * as_mxArray (
bool interleaved)
const;
int32NDArray int32_array_value(void) const
charNDArray char_array_value(bool=false) const
octave_bool_matrix(const boolMatrix &bm, const MatrixType &t)
boolNDArray bool_array_value(bool=false) const
uint32NDArray uint32_array_value(void) const
~octave_bool_matrix(void)=default
FloatComplexMatrix float_complex_matrix_value(bool=false) const
octave_bool_matrix(const boolNDArray &bm, const octave::idx_vector &cache)
octave_base_value * clone(void) const
ComplexNDArray complex_array_value(bool=false) const
octave_bool_matrix(const Array< bool > &bnda)
NDArray array_value(bool=false) const
bool is_bool_matrix(void) const
octave_bool_matrix(const boolNDArray &bnda)
builtin_type_t builtin_type(void) const
boolMatrix bool_matrix_value(bool=false) const
double scalar_value(bool frc_str_conv=false) const
octave::idx_vector index_vector(bool=false) const
int64NDArray int64_array_value(void) const
SparseBoolMatrix sparse_bool_matrix_value(bool=false) const
int8NDArray int8_array_value(void) const
FloatMatrix float_matrix_value(bool=false) const
SparseMatrix sparse_matrix_value(bool=false) const
int16NDArray int16_array_value(void) const
ComplexMatrix complex_matrix_value(bool=false) const
uint64NDArray uint64_array_value(void) const
octave_value map(unary_mapper_t umap) const
uint16NDArray uint16_array_value(void) const
FloatNDArray float_array_value(bool=false) const
octave_bool_matrix(const boolMatrix &bm)
Matrix matrix_value(bool=false) const
uint8NDArray uint8_array_value(void) const
bool isnumeric(void) const
SparseComplexMatrix sparse_complex_matrix_value(bool=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
bool islogical(void) const
octave_bool_matrix(const octave_bool_matrix &bm)
FloatComplexNDArray float_complex_array_value(bool=false) const
octave_base_value * empty_clone(void) const
Array< octave_value > array_value(void) const
octave::idx_vector idx_vector
intNDArray< octave_int16 > int16NDArray
intNDArray< octave_int32 > int32NDArray
intNDArray< octave_int64 > int64NDArray
intNDArray< octave_int8 > int8NDArray
class OCTAVE_API boolMatrix
class OCTAVE_API ComplexMatrix
class OCTAVE_API SparseMatrix
class OCTAVE_API FloatComplexMatrix
class OCTAVE_API FloatMatrix
class OCTAVE_API ComplexNDArray
class OCTAVE_API SparseComplexMatrix
class OCTAVE_API FloatComplexNDArray
class OCTAVE_API SparseBoolMatrix
class OCTAVE_API FloatNDArray
std::complex< double > Complex
std::complex< float > FloatComplex
T::size_type numel(const T &str)
static double as_double(OCTAVE_TIME_T sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
intNDArray< octave_uint16 > uint16NDArray
intNDArray< octave_uint32 > uint32NDArray
intNDArray< octave_uint64 > uint64NDArray
intNDArray< octave_uint8 > uint8NDArray