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 (
void)
const;
75 bool resize_ok =
false);
88 bool isreal (
void)
const {
return true; }
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_bool(const octave_bool &s)
octave::idx_vector index_vector(bool=false) const
octave_uint16 uint16_scalar_value(void) const
charNDArray char_array_value(bool=false) const
FloatComplex float_complex_value(bool=false) const
ComplexMatrix complex_matrix_value(bool=false) const
bool isnumeric(void) const
octave_base_value * clone(void) const
~octave_bool(void)=default
bool is_bool_scalar(void) const
float float_value(bool=false) const
Matrix matrix_value(bool=false) const
uint64NDArray uint64_array_value(void) const
FloatComplexNDArray float_complex_array_value(bool=false) const
Complex complex_value(bool=false) const
FloatMatrix float_matrix_value(bool=false) const
int16NDArray int16_array_value(void) const
SparseMatrix sparse_matrix_value(bool=false) const
boolMatrix bool_matrix_value(bool=false) const
double scalar_value(bool=false) const
uint32NDArray uint32_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_int64 int64_scalar_value(void) const
bool is_real_scalar(void) const
double double_value(bool=false) const
int64NDArray int64_array_value(void) const
octave_uint32 uint32_scalar_value(void) const
bool bool_value(bool=false) const
uint8NDArray uint8_array_value(void) const
octave_uint64 uint64_scalar_value(void) const
boolNDArray bool_array_value(bool=false) const
octave_base_value * empty_clone(void) const
octave_value map(unary_mapper_t umap) const
int32NDArray int32_array_value(void) const
float float_scalar_value(bool=false) const
octave_int8 int8_scalar_value(void) const
octave_int16 int16_scalar_value(void) const
uint16NDArray uint16_array_value(void) const
SparseComplexMatrix sparse_complex_matrix_value(bool=false) const
bool islogical(void) const
SparseBoolMatrix sparse_bool_matrix_value(bool=false) const
builtin_type_t builtin_type(void) const
FloatComplexMatrix float_complex_matrix_value(bool=false) const
NDArray array_value(bool=false) const
FloatNDArray float_array_value(bool=false) const
int8NDArray int8_array_value(void) const
octave_uint8 uint8_scalar_value(void) const
octave_int32 int32_scalar_value(void) 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
class OCTAVE_API boolNDArray
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
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
static double as_double(OCTAVE_TIME_T sec, long usec)
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
static bool scalar(const dim_vector &dims)
intNDArray< octave_uint16 > uint16NDArray
intNDArray< octave_uint32 > uint32NDArray
intNDArray< octave_uint64 > uint64NDArray
intNDArray< octave_uint8 > uint8NDArray