48 if (
numel () == 1 && *p ==
':')
62 "character matrix",
"real scalar");
64 retval =
static_cast<unsigned char> (
matrix (0, 0));
80 "character matrix",
"real scalar");
82 retval =
static_cast<unsigned char> (
matrix (0, 0));
100 "character matrix",
"complex scalar");
102 retval =
static_cast<unsigned char> (
matrix (0, 0));
120 "character matrix",
"complex scalar");
122 retval =
static_cast<unsigned char> (
matrix (0, 0));
132 bool pr_as_read_syntax)
const
149 for (
mwIndex i = 0; i < nel; i++)
165 return (c >= 0x00 && c <= 0x7f);
185 #define STRING_MAPPER(UMAP,FCN,TYPE) \
186 case umap_ ## UMAP: \
187 return octave_value (matrix.map<TYPE, int (&) (int)> (FCN))
void gripe_implicit_conversion(const char *id, const char *from, const char *to)
void print_raw(std::ostream &os, bool pr_as_read_syntax=false) const
octave_idx_type columns(void) const
static int xtoascii(int c)
FloatComplex float_complex_value(bool=false) const
octave_idx_type numel(void) const
#define STRING_MAPPER(UMAP, FCN, TYPE)
void error(const char *fmt,...)
void * get_data(void) const
double lo_ieee_nan_value(void)
static const char * get_umap_name(unary_mapper_t)
octave_value map(unary_mapper_t umap) const
mxArray * as_mxArray(void) const
const T * data(void) const
float lo_ieee_float_nan_value(void)
float float_value(bool=false) const
dim_vector dims(void) const
octave_value map(unary_mapper_t umap) const
void gripe_invalid_conversion(const std::string &from, const std::string &to)
int current_print_indent_level(void) const
void octave_print_internal(std::ostream &, char, bool)
NDArray array_value(bool=false) const
std::complex< float > FloatComplex
Complex complex_value(bool=false) const
double double_value(bool=false) const
std::complex< double > Complex
idx_vector index_vector(bool require_integers=false) const
octave_idx_type rows(void) const
static int xisascii(int c)