24 #if defined (HAVE_CONFIG_H) 41 for (
const auto&
ovl : lst)
54 for (
const auto&
ovl : lst)
131 if (offset < 0 || offset >= len)
133 if (! (rep_length == 0 && offset == len))
134 error (
"octave_value_list::splice: invalid OFFSET");
137 if (rep_length < 0 || rep_length + offset > len)
138 error (
"octave_value_list::splice: invalid LENGTH");
166 if (!
elem(
i).is_string ())
193 if (
elem (
i).iscell ())
205 if (
elem(
i).is_magic_colon ())
217 error (
"%s: all arguments must be strings", fcn_name.c_str ());
230 total_nr += n ? n : 1;
234 if (! fcn_name.empty ())
271 if (!
tmp.is_copy_of (cdata (
i)))
std::string string_value(bool force=false) const
const T * data(void) const
identity matrix If supplied two scalar respectively For allows like xample val
octave_value_list & append(const octave_value &val)
bool has_magic_colon(void) const
void error(const char *fmt,...)
octave_value_list splice(octave_idx_type offset, octave_idx_type len, const octave_value_list &lst=octave_value_list()) const
void make_storable_values(void)
void resize(octave_idx_type n, const std::string &rfv="")
octave_value resize(const dim_vector &dv, bool fill=false) const
octave_value & elem(octave_idx_type n)
bool any_cell(void) const
octave_value_list & reverse(void)
dim_vector dims(void) const
string_vector make_argv(const std::string &="") const
void resize(const dim_vector &dv, const T &rfv)
Resizing (with fill).
octave_idx_type rows(void) const
bool all_scalars(void) const
Array< octave_value > data
bool all_ones(void) const
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).isinteger())
octave_idx_type length(void) const
bool all_strings_p(void) const
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).
string_vector string_vector_value(bool pad=false) 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)