24 #if ! defined (octave_ov_str_mat_h)
25 #define octave_ov_str_mat_h 1
27 #include "octave-config.h"
94 type_conv_info numeric_conversion_function (
void)
const;
97 bool resize_ok =
false)
98 {
return do_index_op_internal (idx, resize_ok); }
118 double double_value (
bool =
false)
const;
120 Matrix matrix_value (
bool =
false)
const;
122 NDArray array_value (
bool =
false)
const;
124 Complex complex_value (
bool =
false)
const;
132 std::string string_value (
bool force =
false)
const;
147 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
149 void short_disp (std::ostream& os)
const;
151 bool save_ascii (std::ostream& os);
153 bool load_ascii (std::istream&
is);
157 bool load_binary (std::istream&
is,
bool swap,
167 {
return os.
write (
matrix, block_size, output_type, skip, flt_fmt); }
172 bool resize_ok,
char type =
'"');
245 bool resize_ok =
false)
246 {
return do_index_op_internal (idx, resize_ok,
'\''); }
octave_value diag(octave_idx_type k=0) const
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_value squeeze(void) const
octave_char_matrix_sq_str(const char *s)
bool is_numeric_type(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_base_value * empty_clone(void) const
octave_idx_type write(const octave_value &data, octave_idx_type block_size, oct_data_conv::data_type output_type, octave_idx_type skip, octave::mach_info::float_format flt_fmt)
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_value reshape(const dim_vector &new_dims) const
octave_char_matrix_sq_str(void)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the then the first element defines the pivoting tolerance for the unsymmetric the values defined such that for full matrix
octave_char_matrix_sq_str(char c)
octave_value sort(octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_value permute(const Array< int > &vec, bool inv=false) const
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
octave::mach_info::float_format flt_fmt
octave_char_matrix_sq_str(const string_vector &s)
octave_value sort(Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_value do_index_op(const octave_value_list &idx, bool resize_ok=false)
bool print_as_scalar(void) const
bool is_sq_string(void) const
octave_char_matrix_str(const charMatrix &chm)
octave_char_matrix_sq_str(const charMatrix &chm)
octave_base_value * clone(void) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_char_matrix_str(void)
octave_value sort(octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_char_matrix_sq_str(const Array< char > &chm)
std::string xstring_value(void) const
octave_char_matrix_str(const std::string &s)
octave_base_value * empty_clone(void) const
octave_base_value * clone(void) const
void resize(const dim_vector &dv, const T &rfv)
octave_char_matrix_sq_str(const octave_char_matrix_sq_str &chms)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
octave_value diag(octave_idx_type k=0) const
octave_char_matrix_str octave_char_matrix_dq_str
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_char_matrix_str(const string_vector &s)
octave_char_matrix_str(const charNDArray &chm)
bool is_string(void) const
std::complex< double > Complex
octave_char_matrix_str(const char *s)
write the output to stdout if nargout is
octave_value reshape(const dim_vector &new_dims) const
Vector representing the dimensions (size) of an Array.
~octave_char_matrix_sq_str(void)
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)
octave_value squeeze(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(void)