23 #if ! defined (octave_ov_struct_h)
24 #define octave_ov_struct_h 1
26 #include "octave-config.h"
71 const std::list<octave_value_list>& idx)
78 const std::list<octave_value_list>&,
int);
81 const std::list<octave_value_list>& idx,
88 const std::list<octave_value_list>& idx,
97 bool resize_ok =
false);
101 size_t byte_size (
void)
const;
122 bool is_map (
void)
const {
return true; }
130 void print (std::ostream& os,
bool pr_as_read_syntax =
false);
132 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
136 bool save_ascii (std::ostream& os);
138 bool load_ascii (std::istream&
is);
142 bool load_binary (std::istream&
is,
bool swap,
149 mxArray *as_mxArray (
void)
const;
191 const std::list<octave_value_list>& idx);
194 const std::list<octave_value_list>& idx,
int);
197 const std::list<octave_value_list>& idx,
204 const std::list<octave_value_list>& idx,
213 bool resize_ok =
false);
217 size_t byte_size (
void)
const;
238 bool is_map (
void)
const {
return true; }
248 void print (std::ostream& os,
bool pr_as_read_syntax =
false);
250 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
254 bool save_ascii (std::ostream& os);
256 bool load_ascii (std::istream&
is);
260 bool load_binary (std::istream&
is,
bool swap,
267 mxArray *as_mxArray (
void)
const;
269 bool fast_elem_insert_self (
void *where,
builtin_type_t btyp)
const;
octave_value squeeze(void) const
octave_scalar_struct(const octave_scalar_map &m)
dim_vector dims(void) const
bool is_constant(void) const
dim_vector dims(void) const
builtin_type_t builtin_type(void) const
~octave_scalar_struct(void)
identity matrix If supplied two scalar respectively For allows like xample val
octave_idx_type length(void) const
octave_scalar_map scalar_map_value(void) const
idx subsref(val, idx) esult
octave_idx_type nfields(void) const
string_vector map_keys(void) const
octave_scalar_struct(void)
octave_base_value * clone(void) const
octave_map squeeze(void) const
octave_idx_type numel(void) const
octave_idx_type numel(void) const
octave_value resize(const dim_vector &dv, bool fill=false) const
octave_scalar_struct(const octave_scalar_struct &s)
octave_value resize(const dim_vector &dv, bool fill=false) const
octave_value reshape(const dim_vector &new_dims) const
#define DECLARE_OV_TYPEID_FUNCTIONS_AND_DATA
octave_map map_value(void) const
octave_idx_type nfields(void) const
nd deftypefn *octave_map m
octave_map permute(const Array< int > &vec, bool inv=false) const
dim_vector dims(void) const
bool is_defined(void) const
bool is_constant(void) const
bool is_defined(void) const
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
builtin_type_t builtin_type(void) const
octave_idx_type nfields(void) const
octave_base_value * empty_clone(void) const
octave_value squeeze(void) const
octave_value permute(const Array< int > &vec, bool inv=false) const
idx subsasgn(val, idx, 0) esult
octave_value reshape(const dim_vector &new_dims) const
octave_struct(const octave_map &m)
octave_map reshape(const dim_vector &dv) const
octave_base_value * clone(void) const
void resize(const dim_vector &dv, bool fill=false)
octave_struct(const octave_struct &s)
string_vector map_keys(void) const
octave_map map_value(void) const
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
string_vector fieldnames(void) const
octave_base_value * empty_clone(void) const
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE * x
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
octave_value permute(const Array< int > &vec, bool inv=false) const
octave_idx_type numel(void) const