26 #if ! defined (octave_ov_bool_h)
27 #define octave_ov_bool_h 1
29 #include "octave-config.h"
72 type_conv_info numeric_conversion_function ()
const;
75 bool resize_ok =
false);
88 bool isreal ()
const {
return true; }
159 {
return Matrix (1, 1, scalar); }
200 retval(0) =
static_cast<char> (scalar);
227 octave_value convert_to_str_internal (
bool pad,
bool force,
char type)
const;
229 bool save_ascii (std::ostream& os);
231 bool load_ascii (std::istream& is);
233 bool save_binary (std::ostream& os,
bool save_as_floats);
235 bool load_binary (std::istream& is,
bool swap,
238 bool save_hdf5 (
octave_hdf5_id loc_id,
const char *name,
bool save_as_floats);
242 int write (octave::stream& os,
int block_size,
246 return os.write (bool_array_value (), block_size, output_type,
250 mxArray * as_mxArray (
bool interleaved)
const;
Vector representing the dimensions (size) of an Array.
octave_uint16 uint16_scalar_value() const
octave_bool(const octave_bool &s)
octave::idx_vector index_vector(bool=false) const
octave_base_value * clone() const
uint32NDArray uint32_array_value() const
charNDArray char_array_value(bool=false) const
FloatComplex float_complex_value(bool=false) const
ComplexMatrix complex_matrix_value(bool=false) const
octave_int8 int8_scalar_value() const
float float_value(bool=false) const
Matrix matrix_value(bool=false) const
octave_uint64 uint64_scalar_value() const
FloatComplexNDArray float_complex_array_value(bool=false) const
int8NDArray int8_array_value() const
Complex complex_value(bool=false) const
FloatMatrix float_matrix_value(bool=false) const
SparseMatrix sparse_matrix_value(bool=false) const
boolMatrix bool_matrix_value(bool=false) const
double scalar_value(bool=false) const
uint64NDArray uint64_array_value() 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
uint16NDArray uint16_array_value() const
double double_value(bool=false) const
octave_int64 int64_scalar_value() const
bool bool_value(bool=false) const
octave_int32 int32_scalar_value() const
boolNDArray bool_array_value(bool=false) const
uint8NDArray uint8_array_value() const
octave_int16 int16_scalar_value() const
octave_value map(unary_mapper_t umap) const
float float_scalar_value(bool=false) const
octave_uint32 uint32_scalar_value() const
builtin_type_t builtin_type() const
bool is_bool_scalar() const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
int32NDArray int32_array_value() const
SparseBoolMatrix sparse_bool_matrix_value(bool=false) const
bool is_real_scalar() const
FloatComplexMatrix float_complex_matrix_value(bool=false) const
octave_base_value * empty_clone() const
NDArray array_value(bool=false) const
int16NDArray int16_array_value() const
FloatNDArray float_array_value(bool=false) const
octave_uint8 uint8_scalar_value() const
int64NDArray int64_array_value() const
ComplexNDArray complex_array_value(bool=false) const
void resize(octave_idx_type n, const octave_value &rfv=octave_value())
octave::idx_vector idx_vector
intNDArray< octave_int16 > int16NDArray
intNDArray< octave_int32 > int32NDArray
intNDArray< octave_int64 > int64NDArray
intNDArray< octave_int8 > int8NDArray
std::complex< double > Complex
std::complex< float > FloatComplex
octave_int< uint32_t > octave_uint32
octave_int< int32_t > octave_int32
octave_int< int16_t > octave_int16
octave_int< int8_t > octave_int8
octave_int< int64_t > octave_int64
octave_int< uint64_t > octave_uint64
octave_int< uint16_t > octave_uint16
octave_int< uint8_t > octave_uint8
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
intNDArray< octave_uint16 > uint16NDArray
intNDArray< octave_uint32 > uint32NDArray
intNDArray< octave_uint64 > uint64NDArray
intNDArray< octave_uint8 > uint8NDArray