|
| charMatrix (char c) |
|
| charMatrix (const Array< char > &a) |
|
| charMatrix (const char *s) |
|
| charMatrix (const charMatrix &a)=default |
|
| charMatrix (const dim_vector &dv) |
|
| charMatrix (const dim_vector &dv, char val) |
|
| charMatrix (const std::string &s) |
|
| charMatrix (const string_vector &s, char fill_value='\0') |
|
| charMatrix (octave_idx_type r, octave_idx_type c) |
|
| charMatrix (octave_idx_type r, octave_idx_type c, char val) |
|
| charMatrix (void)=default |
|
| ~charMatrix (void)=default |
|
OCTAVE_API boolNDArray | all (int dim=-1) const |
|
OCTAVE_API boolNDArray | any (int dim=-1) const |
|
bool | any_element_is_nan (void) const |
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | as_column (void) const |
| Return the array as a column vector. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | as_matrix (void) const |
| Return the array as a matrix. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | as_row (void) const |
| Return the array as a row vector. More...
|
|
OCTARRAY_API void | clear (const dim_vector &dv) |
|
void | clear (octave_idx_type r, octave_idx_type c) |
|
OCTARRAY_API void | clear (void) |
|
OCTAVE_API charNDArray | concat (const charNDArray &rb, const Array< octave_idx_type > &ra_idx) |
|
OCTAVE_API charNDArray | concat (const NDArray &rb, const Array< octave_idx_type > &ra_idx) |
|
OCTAVE_API charNDArray | diag (octave_idx_type k=0) const |
|
OCTAVE_API charNDArray | diag (octave_idx_type m, octave_idx_type n) const |
|
OCTAVE_API charMatrix | extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const |
|
OCTARRAY_API void | fill (const char &val) |
|
OCTINTERP_API Array< octave_idx_type > | find (octave_idx_type, bool) const |
|
OCTAVE_API Array< octave_idx_type > | find (octave_idx_type, bool) const |
|
OCTAVE_API charMatrix & | insert (const char *s, octave_idx_type r, octave_idx_type c) |
|
OCTAVE_API charMatrix & | insert (const charMatrix &a, octave_idx_type r, octave_idx_type c) |
|
OCTAVE_API charNDArray & | insert (const charNDArray &a, const Array< octave_idx_type > &ra_idx) |
|
OCTAVE_API charNDArray & | insert (const charNDArray &a, octave_idx_type r, octave_idx_type c) |
|
OCTINTERP_API sortmode | is_sorted_rows (sortmode) const |
|
OCTAVE_API sortmode | is_sorted_rows (sortmode) const |
|
OCTAVE_API sortmode | issorted (sortmode mode) const |
|
OCTINTERP_API sortmode | issorted (sortmode) const |
|
OCTAVE_API sortmode | issorted (sortmode) const |
|
OCTINTERP_API Array< octave_idx_type > | lookup (const Array< octave::cdef_object > &, sortmode) const |
|
OCTAVE_API Array< octave_idx_type > | lookup (const Array< octave::idx_vector > &, sortmode) const |
|
OCTINTERP_API octave_idx_type | lookup (octave::cdef_object const &, sortmode) const |
|
OCTAVE_API octave_idx_type | lookup (octave::idx_vector const &, sortmode) const |
|
OCTARRAY_OVERRIDABLE_FUNC_API void | make_unique (void) |
|
OCTAVE_API charNDArray | max (Array< octave_idx_type > &index, int dim=-1) const |
|
OCTAVE_API charNDArray | max (int dim=-1) const |
|
OCTAVE_API charNDArray | min (Array< octave_idx_type > &index, int dim=-1) const |
|
OCTAVE_API charNDArray | min (int dim=-1) const |
|
OCTINTERP_API octave_idx_type | nnz (void) const |
|
OCTAVE_API octave_idx_type | nnz (void) const |
|
OCTINTERP_API Array< octave::cdef_object > | nth_element (const octave::idx_vector &, int) const |
|
OCTAVE_API Array< octave::idx_vector > | nth_element (const octave::idx_vector &, int) const |
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | numel (void) const |
| Number of elements in the array. More...
|
|
OCTAVE_API bool | operator!= (const charMatrix &a) const |
|
charMatrix & | operator= (const charMatrix &a)=default |
|
OCTAVE_API bool | operator== (const charMatrix &a) const |
|
void | resize (octave_idx_type nr, octave_idx_type nc, char rfv=0) |
|
OCTAVE_API std::string | row_as_string (octave_idx_type, bool strip_ws=false) const |
|
OCTINTERP_API Array< octave::cdef_object > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
|
OCTAVE_API Array< octave::idx_vector > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
|
OCTINTERP_API Array< octave::cdef_object > | sort (int, sortmode) const |
|
OCTAVE_API Array< octave::idx_vector > | sort (int, sortmode) const |
|
OCTINTERP_API Array< octave_idx_type > | sort_rows_idx (sortmode) const |
|
OCTAVE_API Array< octave_idx_type > | sort_rows_idx (sortmode) const |
|
charNDArray | squeeze (void) const |
|
charMatrix | transpose (void) const |
|
|
Get the first dimension of the array (number of rows)
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | dim1 (void) const |
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | rows (void) const |
|
|
Get the second dimension of the array (number of columns)
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | dim2 (void) const |
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | cols (void) const |
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | columns (void) const |
|
|
Get the third dimension of the array (number of pages)
|
OCTARRAY_API Array< char, Alloc > & | insert (const Array< char, Alloc > &a, const Array< octave_idx_type > &idx) |
| Insert an array into another at a specified position. More...
|
|
OCTARRAY_API Array< char, Alloc > & | insert (const Array< char, Alloc > &a, octave_idx_type r, octave_idx_type c) |
| This is just a special case for idx = [r c 0 ...]. More...
|
|
OCTARRAY_API octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | dim3 (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | pages (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API size_type | size (const size_type d) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API std::size_t | byte_size (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API const dim_vector & | dims (void) const |
| Return a const-reference so that dims ()(i) works efficiently. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | xelem (octave_idx_type n) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | xelem (octave_idx_type n) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | xelem (octave_idx_type i, octave_idx_type j) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | xelem (octave_idx_type i, octave_idx_type j) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | xelem (const Array< octave_idx_type > &ra_idx) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API char & | checkelem (octave_idx_type n) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API char & | checkelem (octave_idx_type i, octave_idx_type j) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API char & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API char & | checkelem (const Array< octave_idx_type > &ra_idx) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API crefT | checkelem (octave_idx_type n) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | elem (octave_idx_type n) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | elem (octave_idx_type i, octave_idx_type j) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | elem (const Array< octave_idx_type > &ra_idx) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | elem (octave_idx_type n) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | elem (octave_idx_type i, octave_idx_type j) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | elem (const Array< octave_idx_type > &ra_idx) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | operator() (octave_idx_type n) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | operator() (octave_idx_type i, octave_idx_type j) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API char & | operator() (const Array< octave_idx_type > &ra_idx) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | operator() (octave_idx_type n) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | operator() (octave_idx_type i, octave_idx_type j) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | column (octave_idx_type k) const |
| Extract column: A(:,k+1). More...
|
|
OCTARRAY_API Array< char, Alloc > | page (octave_idx_type k) const |
| Extract page: A(:,:,k+1). More...
|
|
OCTARRAY_API Array< char, Alloc > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
| Extract a slice from this array as a column vector: A(:)(lo+1:up). More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | reshape (octave_idx_type nr, octave_idx_type nc) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | reshape (const dim_vector &new_dims) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | ipermute (const Array< octave_idx_type > &vec) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API bool | issquare (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API bool | isempty (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API bool | isvector (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API bool | is_nd_vector (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | hermitian (char(*fcn)(const char &)=nullptr) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API const char * | data (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API char * | fortran_vec (void) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API bool | is_shared (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API int | ndims (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | index (const octave::idx_vector &i) const |
| Indexing without resizing. More...
|
|
OCTARRAY_API Array< char, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | index (const Array< octave::idx_vector > &ia) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | index (const octave::idx_vector &i, bool resize_ok, const char &rfv) const |
| Indexing with possible resizing and fill. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | index (const octave::idx_vector &i, bool resize_ok) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const char &rfv) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | index (const Array< octave::idx_vector > &ia, bool resize_ok, const char &rfv) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API Array< char, Alloc > | index (const Array< octave::idx_vector > &ia, bool resize_ok) const |
| Size of the specified dimension. More...
|
|
virtual OCTARRAY_API char | resize_fill_value (void) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | resize2 (octave_idx_type nr, octave_idx_type nc, const char &rfv) |
| Resizing (with fill). More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | resize2 (octave_idx_type nr, octave_idx_type nc) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | resize1 (octave_idx_type n, const char &rfv) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | resize1 (octave_idx_type n) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | resize (const dim_vector &dv, const char &rfv) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | resize (const dim_vector &dv) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | assign (const octave::idx_vector &i, const Array< char, Alloc > &rhs, const char &rfv) |
| Indexed assignment (always with resize & fill). More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | assign (const octave::idx_vector &i, const Array< char, Alloc > &rhs) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< char, Alloc > &rhs, const char &rfv) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< char, Alloc > &rhs) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | assign (const Array< octave::idx_vector > &ia, const Array< char, Alloc > &rhs, const char &rfv) |
| Size of the specified dimension. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | assign (const Array< octave::idx_vector > &ia, const Array< char, Alloc > &rhs) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | delete_elements (const octave::idx_vector &i) |
| Deleting elements. More...
|
|
OCTARRAY_API void | delete_elements (int dim, const octave::idx_vector &i) |
| A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More...
|
|
OCTARRAY_API void | delete_elements (const Array< octave::idx_vector > &ia) |
| Dispatcher to the above two. More...
|
|
OCTARRAY_OVERRIDABLE_FUNC_API void | maybe_economize (void) |
| Size of the specified dimension. More...
|
|
OCTARRAY_API void | print_info (std::ostream &os, const std::string &prefix) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | sort (int dim=0, sortmode mode=ASCENDING) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API Array< char, Alloc > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API sortmode | issorted (sortmode mode=UNSORTED) const |
| Ordering is auto-detected or can be specified. More...
|
|
OCTARRAY_API Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
| Sort by rows returns only indices. More...
|
|
OCTARRAY_API sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
| Ordering is auto-detected or can be specified. More...
|
|
OCTARRAY_API octave_idx_type | lookup (const char &value, sortmode mode=UNSORTED) const |
| Do a binary lookup in a sorted array. More...
|
|
OCTARRAY_API Array< octave_idx_type > | lookup (const Array< char, Alloc > &values, sortmode mode=UNSORTED) const |
| Ditto, but for an array of values, specializing on the case when values are sorted. More...
|
|
OCTARRAY_API octave_idx_type | nnz (void) const |
| Count nonzero elements. More...
|
|
OCTARRAY_API Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
| Find indices of (at most n) nonzero elements. More...
|
|
OCTARRAY_API Array< char, Alloc > | nth_element (const octave::idx_vector &n, int dim=0) const |
| Returns the n-th element in increasing order, using the same ordering as used for sort. More...
|
|
Array< U, A > | map (F fcn) const |
| Apply function fcn to each element of the Array<T, Alloc>. More...
|
|
Array< U, A > | map (U(&fcn)(char)) const |
| Overloads for function references. More...
|
|
Array< U, A > | map (U(&fcn)(const char &)) const |
| Size of the specified dimension. More...
|
|
bool | test (F fcn) const |
| Generic any/all test functionality with arbitrary predicate. More...
|
|
bool | test_any (F fcn) const |
| Simpler calls. More...
|
|
bool | test_any (bool(&fcn)(char)) const |
| Overloads for function references. More...
|
|
bool | test_any (bool(&fcn)(const char &)) const |
| Size of the specified dimension. More...
|
|
bool | test_all (F fcn) const |
| Size of the specified dimension. More...
|
|
bool | test_all (bool(&fcn)(char)) const |
| Size of the specified dimension. More...
|
|
bool | test_all (bool(&fcn)(const char &)) const |
| Size of the specified dimension. More...
|
|
OCTARRAY_API bool | optimize_dimensions (const dim_vector &dv) |
| Returns true if this->dims () == dv, and if so, replaces this->m_dimensions by a shallow copy of dv. More...
|
|
static OCTARRAY_API Array< char, Alloc > | cat (int dim, octave_idx_type n, const Array< char, Alloc > *array_list) |
| Concatenation along a specified (0-based) dimension, equivalent to cat(). More...
|
|
static OCTARRAY_API void | instantiation_guard () |
| Size of the specified dimension. More...
|
|