24 #if defined (HAVE_CONFIG_H)
41 for (std::list<octave_value_list>::const_iterator
p = lst.begin ();
50 data = lst.front ().data;
55 for (std::list<octave_value_list>::const_iterator
p = lst.begin ();
133 if (offset < 0 || offset >= len)
135 if (! (rep_length == 0 && offset == len))
136 error (
"octave_value_list::splice: invalid OFFSET");
139 if (rep_length < 0 || rep_length + offset > len)
140 error (
"octave_value_list::splice: invalid LENGTH");
168 if (!
elem(
i).is_string ())
195 if (
elem (
i).is_cell ())
207 if (
elem(
i).is_magic_colon ())
219 error (
"%s: all arguments must be strings", fcn_name.c_str ());
232 total_nr += n ? n : 1;
236 if (! fcn_name.empty ())
bool any_cell(void) const
octave_idx_type rows(void) const
identity matrix If supplied two scalar respectively For allows like xample val
octave_idx_type length(void) const
octave_value_list & append(const octave_value &val)
void error(const char *fmt,...)
bool all_ones(void) const
bool is_copy_of(const octave_value &val) const
void make_storable_values(void)
void resize(octave_idx_type n, const std::string &rfv="")
octave_value & elem(octave_idx_type n)
string_vector make_argv(const std::string &="") const
std::string string_value(bool force=false) const
octave_value_list & reverse(void)
void resize(const dim_vector &dv, const T &rfv)
bool has_magic_colon(void) const
octave_value_list splice(octave_idx_type offset, octave_idx_type len, const octave_value_list &lst=octave_value_list()) const
Array< octave_value > data
dim_vector dims(void) const
string_vector string_vector_value(bool pad=false) const
bool all_strings_p(void) const
=val(i)}if ode{val(i)}occurs in table i
void resize(octave_idx_type n, const octave_value &rfv=octave_value())
void assign(const idx_vector &i, const Array< T > &rhs, const T &rfv)
Indexed assignment (always with resize & fill).
bool all_scalars(void) const
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_value_list & prepend(const octave_value &val)