24 #if defined (HAVE_CONFIG_H) 59 if (
numel () == 1 && *
p ==
':')
72 "character matrix",
"real scalar");
74 return static_cast<unsigned char> (
matrix(0, 0));
84 "character matrix",
"real scalar");
86 return static_cast<unsigned char> (
matrix(0, 0));
98 "character matrix",
"int64 scalar");
114 "character matrix",
"uint64 scalar");
128 "character matrix",
"complex scalar");
130 return Complex (static_cast<unsigned char> (
matrix(0, 0)), 0);
144 "character matrix",
"complex scalar");
213 bool pr_as_read_syntax)
const 243 #if defined (HAVE_ISASCII) 246 return (
c >= 0x00 &&
c <= 0x7f);
257 #define STRING_MAPPER(UMAP,FCN,TYPE) \ 258 case umap_ ## UMAP: \ 259 return octave_value (matrix.map<TYPE, int (&) (int)> (FCN))
octave_int64 int64_scalar_value() const
octave_int< uint64_t > octave_uint64
octave_value as_double(void) const
octave_value as_uint16(void) const
intNDArray< octave_int64 > int64NDArray
const T * data(void) const
idx_vector index_vector(bool require_integers=false) const
octave_value as_uint8(void) const
int current_print_indent_level(void) const
void print_raw(std::ostream &os, bool pr_as_read_syntax=false) const
octave_value as_uint64(void) const
intNDArray< octave_uint32 > uint32NDArray
intNDArray< octave_uint8 > uint8NDArray
intNDArray< octave_uint16 > uint16NDArray
#define STRING_MAPPER(UMAP, FCN, TYPE)
void error(const char *fmt,...)
octave_value as_uint32(void) const
intNDArray< octave_int16 > int16NDArray
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
static const char * get_umap_name(unary_mapper_t)
mxArray * as_mxArray(void) const
octave_value as_int16(void) const
void octave_print_internal(std::ostream &os, const float_display_format &fmt, bool d, bool pr_as_read_syntax)
octave_uint64 uint64_scalar_value() const
FloatComplex float_complex_value(bool=false) const
intNDArray< octave_int8 > int8NDArray
octave_idx_type rows(void) const
octave_value as_int8(void) const
Complex complex_value(bool=false) const
octave_value map(unary_mapper_t umap) const
double double_value(bool=false) const
octave_value map(unary_mapper_t umap) const
octave_value as_int32(void) const
float lo_ieee_float_nan_value(void)
octave_value as_single(void) const
intNDArray< octave_int32 > int32NDArray
void err_invalid_conversion(const std::string &from, const std::string &to)
NDArray array_value(bool=false) const
octave_value as_int64(void) const
dim_vector dims(void) const
void warn_implicit_conversion(const char *id, const char *from, const char *to)
octave_int< int64_t > octave_int64
octave_idx_type numel(void) const
octave_idx_type columns(void) const
std::complex< float > FloatComplex
std::complex< double > Complex
float float_value(bool=false) const
static int xisascii(int c)
intNDArray< octave_uint64 > uint64NDArray