24 #if ! defined (octave_ov_str_mat_h) 25 #define octave_ov_str_mat_h 1 27 #include "octave-config.h" 92 type_conv_info numeric_conversion_function (
void)
const;
95 bool resize_ok =
false)
96 {
return do_index_op_internal (idx, resize_ok); }
116 double double_value (
bool =
false)
const;
118 Matrix matrix_value (
bool =
false)
const;
122 Complex complex_value (
bool =
false)
const;
130 std::string string_value (
bool force =
false)
const;
145 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false)
const;
147 void short_disp (std::ostream&
os)
const;
152 bool save_ascii (std::ostream&
os);
154 bool load_ascii (std::istream&
is);
158 bool load_binary (std::istream&
is,
bool swap,
173 bool resize_ok,
char type =
'"');
246 bool resize_ok =
false)
247 {
return do_index_op_internal (idx, resize_ok,
'\''); }
octave_idx_type write(const octave_value &data, octave_idx_type block_size, oct_data_conv::data_type output_type, octave_idx_type skip, mach_info::float_format flt_fmt)
octave_value diag(octave_idx_type k=0) const
octave_char_matrix_sq_str(const char *s)
characters Given a string matrix
octave_value sort(Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_value resize(const dim_vector &dv, bool=false) const
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
octave_char_matrix_sq_str(void)
bool isnumeric(void) const
octave_char_matrix_sq_str(char c)
octave_base_value * clone(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_value squeeze(void) const
octave_value sort(octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave::mach_info::float_format flt_fmt
octave_char_matrix_sq_str(const string_vector &s)
octave_base_value * empty_clone(void) const
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
octave_value do_index_op(const octave_value_list &idx, bool resize_ok=false)
octave_value diag(octave_idx_type k=0) const
octave_value reshape(const dim_vector &new_dims) const
octave_value resize(const dim_vector &dv, bool fill=false) const
octave_char_matrix_str(const charMatrix &chm)
octave_char_matrix_sq_str(const charMatrix &chm)
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
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_char_matrix_str(void)
octave_char_matrix_sq_str(const Array< char > &chm)
nd deftypefn *std::string name
octave_base_value * empty_clone(void) const
octave_char_matrix_str(const std::string &s)
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_value reshape(const dim_vector &new_dims) const
octave_base_value * clone(void) const
Array< octave_value > array_value(void) const
octave_value sort(octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_char_matrix_sq_str(const octave_char_matrix_sq_str &chms)
octave_value sort(Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_char_matrix_str octave_char_matrix_dq_str
std::string xstring_value(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_str(const octave_char_matrix_str &chms)
octave_value do_index_op(const octave_value_list &idx, bool resize_ok=false)
octave_char_matrix_str(const Array< char > &chm)
octave_char_matrix_str(char c)
octave_char_matrix_sq_str(const charNDArray &chm)
octave_char_matrix_sq_str(const std::string &s)
octave_value squeeze(void) const
octave_char_matrix_str(const string_vector &s)
void resize(octave_idx_type n, const octave_value &rfv=octave_value())
bool print_as_scalar(void) const
octave_char_matrix_str(const charNDArray &chm)
std::complex< double > Complex
octave_char_matrix_str(const char *s)
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.
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
octave_char_matrix_str(const octave_char_matrix &chm)
octave_char_matrix_sq_str(const octave_char_matrix_str &chm)
bool is_string(void) const
bool is_sq_string(void) const