24 #if ! defined (octave_ov_ch_mat_h) 25 #define octave_ov_ch_mat_h 1 27 #include "octave-config.h" 90 idx_vector index_vector (
bool require_integers =
false)
const;
97 bool isreal (
void)
const {
return true; }
99 double double_value (
bool =
false)
const;
101 float float_value (
bool =
false)
const;
104 {
return double_value (frc_str_conv); }
107 {
return float_value (frc_str_conv); }
124 Complex complex_value (
bool =
false)
const;
162 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false)
const;
168 mxArray * as_mxArray (
void)
const;
FloatNDArray float_array_value(bool=false) const
double scalar_value(bool frc_str_conv=false) const
FloatComplexMatrix float_complex_matrix_value(bool=false) const
characters Given a string matrix
octave_base_value * empty_clone(void) const
FloatMatrix float_matrix_value(bool=false) const
float float_scalar_value(bool frc_str_conv=false) const
FloatComplexNDArray float_complex_array_value(bool=false) const
octave_char_matrix(const charMatrix &chm)
void * mex_get_data(void) const
octave_char_matrix(const charNDArray &chm)
octave_char_matrix(const string_vector &s)
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
bool is_real_matrix(void) const
octave_char_matrix(const std::string &s)
static double as_double(time_t sec, long usec)
ComplexMatrix complex_matrix_value(bool=false) const
builtin_type_t builtin_type(void) const
charMatrix char_matrix_value(bool=false) const
octave_char_matrix(const char *s)
octave_char_matrix(const Array< char > &chm)
ComplexNDArray complex_array_value(bool=false) const
octave_value convert_to_str_internal(bool, bool, char type) const
octave_base_value * clone(void) const
bool is_char_matrix(void) const
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
octave_char_matrix(const octave_char_matrix &chm)
NDArray array_value(bool=false) const
octave_char_matrix(char c)
Matrix matrix_value(bool=false) const
std::complex< float > FloatComplex
std::complex< double > Complex
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
charNDArray char_array_value(bool=false) const