26#if ! defined (octave_Cell_h)
27#define octave_Cell_h 1
29#include "octave-config.h"
40class OCTINTERP_API
Cell :
public Array<octave_value>
74 template <
typename V,
template <
typename...>
class C>
76 Cell (
const C<V>& container)
79 std::size_t n = container.size ();
87 for (
const auto& val : container)
92 Cell (
const std::list<std::string>& sl);
98 bool iscellstr ()
const;
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
Cell octave_value_extract< Cell >(const octave_value &v)
N Dimensional Array with copy-on-write semantics.
Array< T, Alloc > index(const octave::idx_vector &i) const
Indexing without resizing.
void assign(const octave::idx_vector &i, const Array< T, Alloc > &rhs, const T &rfv)
Indexed assignment (always with resize & fill).
Array< T, Alloc > & operator=(const Array< T, Alloc > &a)
Array< T, Alloc > column(octave_idx_type k) const
Extract column: A(:,k+1).
Array< U, A > map(F fcn) const
Apply function fcn to each element of the Array<T, Alloc>.
octave_idx_type nnz() const
Count nonzero elements.
void resize(const dim_vector &dv, const T &rfv)
Size of the specified dimension.
Array< T, Alloc > & insert(const Array< T, Alloc > &a, const Array< octave_idx_type > &idx)
Insert an array into another at a specified position.
void delete_elements(const octave::idx_vector &i)
Deleting elements.
Array< T, Alloc > reshape(octave_idx_type nr, octave_idx_type nc) const
Size of the specified dimension.
Array< T, Alloc > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
virtual T resize_fill_value() const
Size of the specified dimension.
boolMatrix any(int=0) const
Cell(const Array< octave_value > &c, octave_idx_type nr, octave_idx_type nc)
bool any_element_is_nan() const
Cell(const Array< octave_value > &c)
Cell(const Cell &c)=default
Cell reshape(const dim_vector &new_dims) const
Cell(octave_idx_type n, octave_idx_type m, const octave_value &val=Matrix())
Cell(const C< V > &container)
Cell(const dim_vector &dv, const octave_value &val=Matrix())
boolMatrix all(int=0) const
Cell(const octave_value &val)
Vector representing the dimensions (size) of an Array.
octave_value xisgraph() const
octave_value xispunct() const
octave_value xtolower() const
octave_value xisdigit() const
octave_value xisascii() const
octave_value xisalpha() const
octave_value xisalnum() const
octave_value xisxdigit() const
octave_value xisprint() const
octave_value xtoupper() const
octave_value xisspace() const
octave_value xisupper() const
octave_value xiscntrl() const
octave_value xislower() const
F77_RET_T const F77_INT const F77_INT const F77_INT const F77_DBLE const F77_DBLE F77_INT F77_DBLE * V
const octave_base_value const Array< octave_idx_type > & ra_idx
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.