GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ComplexMatrix Class Reference

#include "CMatrix.h"

Inheritance diagram for ComplexMatrix:
Collaboration diagram for ComplexMatrix:

Public Types

typedef ComplexColumnVector column_vector_type
 
typedef bool(* compare_fcn_type) (typename ref_param< T >::type, typename ref_param< T >::type)
 
typedef ComplexDiagMatrix complex_diag_matrix_type
 
typedef Complex complex_elt_type
 
typedef ComplexMatrix complex_matrix_type
 
typedef ref_param< T >::type crefT
 
typedef T element_type
 
typedef ColumnVector real_column_vector_type
 
typedef DiagMatrix real_diag_matrix_type
 
typedef double real_elt_type
 
typedef Matrix real_matrix_type
 
typedef RowVector real_row_vector_type
 
typedef ComplexRowVector row_vector_type
 
typedef octave_idx_type size_type
 Used for operator(), and returned by numel() and size() (beware: signed integer) More...
 
typedef void(* solve_singularity_handler) (double rcon)
 
typedef T value_type
 

Public Member Functions

template<typename U >
 ComplexMatrix (const Array< U > &a)
 
OCTAVE_API ComplexMatrix (const boolMatrix &a)
 
OCTAVE_API ComplexMatrix (const charMatrix &a)
 
OCTAVE_API ComplexMatrix (const ColumnVector &cv)
 
OCTAVE_API ComplexMatrix (const ComplexColumnVector &cv)
 
OCTAVE_API ComplexMatrix (const ComplexDiagMatrix &a)
 
 ComplexMatrix (const ComplexMatrix &a)=default
 
OCTAVE_API ComplexMatrix (const ComplexRowVector &rv)
 
OCTAVE_API ComplexMatrix (const DiagArray2< Complex > &a)
 
OCTAVE_API ComplexMatrix (const DiagArray2< double > &a)
 
OCTAVE_API ComplexMatrix (const DiagMatrix &a)
 
 ComplexMatrix (const dim_vector &dv)
 
 ComplexMatrix (const dim_vector &dv, const Complex &val)
 
template<typename U >
 ComplexMatrix (const MArray< U > &a)
 
OCTAVE_API ComplexMatrix (const Matrix &a)
 
OCTAVE_API ComplexMatrix (const Matrix &re, const Matrix &im)
 
OCTAVE_API ComplexMatrix (const MDiagArray2< Complex > &a)
 
OCTAVE_API ComplexMatrix (const MDiagArray2< double > &a)
 
OCTAVE_API ComplexMatrix (const RowVector &rv)
 
 ComplexMatrix (octave_idx_type r, octave_idx_type c)
 
 ComplexMatrix (octave_idx_type r, octave_idx_type c, const Complex &val)
 
 ComplexMatrix (void)=default
 
 ~ComplexMatrix (void)=default
 
OCTAVE_API Matrix abs (void) const
 
OCTAVE_API boolMatrix all (int dim=-1) const
 
OCTAVE_API bool all_elements_are_real (void) const
 
OCTAVE_API bool all_integers (double &max_val, double &min_val) const
 
OCTAVE_API boolMatrix any (int dim=-1) const
 
OCTAVE_API bool any_element_is_inf_or_nan (void) const
 
OCTAVE_API bool any_element_is_nan (void) const
 
OCTAVE_API ComplexMatrix append (const ColumnVector &a) const
 
OCTAVE_API ComplexMatrix append (const ComplexColumnVector &a) const
 
OCTAVE_API ComplexMatrix append (const ComplexDiagMatrix &a) const
 
OCTAVE_API ComplexMatrix append (const ComplexMatrix &a) const
 
OCTAVE_API ComplexMatrix append (const ComplexRowVector &a) const
 
OCTAVE_API ComplexMatrix append (const DiagMatrix &a) const
 
OCTAVE_API ComplexMatrix append (const Matrix &a) const
 
OCTAVE_API ComplexMatrix append (const RowVector &a) const
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< T, Allocas_column (void) const
 Return the array as a column vector. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< T, Allocas_matrix (void) const
 Return the array as a matrix. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< T, Allocas_row (void) const
 Return the array as a row vector. More...
 
ComplexNDArraychangesign (void)
 
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 ComplexColumnVector column (octave_idx_type i) const
 
OCTAVE_API bool column_is_real_only (octave_idx_type) const
 
OCTAVE_API ComplexRowVector column_max (Array< octave_idx_type > &index) const
 
OCTAVE_API ComplexRowVector column_max (void) const
 
OCTAVE_API ComplexRowVector column_min (Array< octave_idx_type > &index) const
 
OCTAVE_API ComplexRowVector column_min (void) const
 
OCTAVE_API ComplexNDArray concat (const ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_API ComplexNDArray concat (const NDArray &rb, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_API ComplexNDArray cummax (Array< octave_idx_type > &index, int dim=-1) const
 
OCTAVE_API ComplexNDArray cummax (int dim=-1) const
 
OCTAVE_API ComplexNDArray cummin (Array< octave_idx_type > &index, int dim=-1) const
 
OCTAVE_API ComplexNDArray cummin (int dim=-1) const
 
OCTAVE_API ComplexMatrix cumprod (int dim=-1) const
 
OCTAVE_API ComplexMatrix cumsum (int dim=-1) const
 
OCTAVE_API ComplexDET determinant (MatrixType &mattype, octave_idx_type &info, double &rcon, bool calc_cond=true) const
 
OCTAVE_API ComplexDET determinant (octave_idx_type &info) const
 
OCTAVE_API ComplexDET determinant (octave_idx_type &info, double &rcon, bool calc_cond=true) const
 
OCTAVE_API ComplexDET determinant (void) const
 
OCTAVE_API ComplexMatrix diag (octave_idx_type k=0) const
 
OCTAVE_API ComplexDiagMatrix diag (octave_idx_type m, octave_idx_type n) const
 
OCTAVE_API ComplexNDArray diff (octave_idx_type order=1, int dim=-1) const
 
OCTAVE_API ComplexMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
 
OCTAVE_API ComplexMatrix extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
 
OCTAVE_API ComplexMatrixfill (const Complex &val)
 
OCTAVE_API ComplexMatrixfill (const Complex &val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
OCTARRAY_API void fill (const T &val)
 
OCTAVE_API ComplexMatrixfill (double val)
 
OCTAVE_API ComplexMatrixfill (double val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
OCTINTERP_API Array< octave_idx_typefind (octave_idx_type, bool) const
 
OCTAVE_API Array< octave_idx_typefind (octave_idx_type, bool) const
 
OCTAVE_API ComplexNDArray fourier (int dim=1) const
 
OCTAVE_API ComplexMatrix fourier (void) const
 
OCTAVE_API ComplexMatrix fourier2d (void) const
 
OCTAVE_API ComplexNDArray fourierNd (void) const
 
MArray< Complexhermitian (Complex(*fcn)(const Complex &)=nullptr) const
 
ComplexMatrix hermitian (void) const
 
OCTARRAY_API void idx_add (const octave::idx_vector &idx, Complex val)
 Performs indexed accumulative addition. More...
 
OCTARRAY_API void idx_add (const octave::idx_vector &idx, const MArray< Complex > &vals)
 
OCTARRAY_API void idx_add_nd (const octave::idx_vector &idx, const MArray< Complex > &vals, int dim=-1)
 
OCTARRAY_API void idx_max (const octave::idx_vector &idx, const MArray< Complex > &vals)
 
OCTARRAY_API void idx_min (const octave::idx_vector &idx, const MArray< Complex > &vals)
 
OCTAVE_API ComplexNDArray ifourier (int dim=1) const
 
OCTAVE_API ComplexMatrix ifourier (void) const
 
OCTAVE_API ComplexMatrix ifourier2d (void) const
 
OCTAVE_API ComplexNDArray ifourierNd (void) const
 
OCTAVE_API ComplexMatrixinsert (const ColumnVector &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const ComplexColumnVector &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const ComplexDiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const ComplexMatrix &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexNDArrayinsert (const ComplexNDArray &a, const Array< octave_idx_type > &ra_idx)
 
OCTAVE_API ComplexNDArrayinsert (const ComplexNDArray &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const ComplexRowVector &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const DiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const Matrix &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexNDArrayinsert (const NDArray &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrixinsert (const RowVector &a, octave_idx_type r, octave_idx_type c)
 
OCTAVE_API ComplexMatrix inverse (MatrixType &mattype) const
 
OCTAVE_API ComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info, double &rcon, bool force=false, bool calc_cond=true) const
 
OCTAVE_API ComplexMatrix inverse (octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix inverse (octave_idx_type &info, double &rcon, bool force=false, bool calc_cond=true) const
 
OCTAVE_API ComplexMatrix inverse (void) const
 
MArray< Complexipermute (const Array< octave_idx_type > &vec) const
 
OCTINTERP_API sortmode is_sorted_rows (sortmode) const
 
OCTAVE_API sortmode is_sorted_rows (sortmode) const
 
OCTAVE_API boolNDArray isfinite (void) const
 
OCTAVE_API bool ishermitian (void) const
 
OCTAVE_API boolNDArray isinf (void) const
 
OCTAVE_API boolNDArray isnan (void) 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_typelookup (const Array< octave::cdef_object > &, sortmode) const
 
OCTAVE_API Array< octave_idx_typelookup (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
 
OCTAVE_API ComplexColumnVector lssolve (const ColumnVector &b) const
 
OCTAVE_API ComplexColumnVector lssolve (const ColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector lssolve (const ColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const
 
OCTAVE_API ComplexColumnVector lssolve (const ColumnVector &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const
 
OCTAVE_API ComplexColumnVector lssolve (const ComplexColumnVector &b) const
 
OCTAVE_API ComplexColumnVector lssolve (const ComplexColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector lssolve (const ComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const
 
OCTAVE_API ComplexColumnVector lssolve (const ComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const
 
OCTAVE_API ComplexMatrix lssolve (const ComplexMatrix &b) const
 
OCTAVE_API ComplexMatrix lssolve (const ComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix lssolve (const ComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank) const
 
OCTAVE_API ComplexMatrix lssolve (const ComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const
 
OCTAVE_API ComplexMatrix lssolve (const Matrix &b) const
 
OCTAVE_API ComplexMatrix lssolve (const Matrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix lssolve (const Matrix &b, octave_idx_type &info, octave_idx_type &rank) const
 
OCTAVE_API ComplexMatrix lssolve (const Matrix &b, octave_idx_type &info, octave_idx_type &rank, double &rcon) const
 
OCTARRAY_OVERRIDABLE_FUNC_API void make_unique (void)
 
OCTAVE_API ComplexNDArray max (Array< octave_idx_type > &index, int dim=-1) const
 
OCTAVE_API ComplexNDArray max (int dim=-1) const
 
OCTAVE_API ComplexNDArray min (Array< octave_idx_type > &index, int dim=-1) const
 
OCTAVE_API ComplexNDArray 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_objectnth_element (const octave::idx_vector &, int) const
 
OCTAVE_API Array< octave::idx_vectornth_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 boolNDArray operator! (void) const
 
OCTAVE_API bool operator!= (const ComplexMatrix &a) const
 
OCTAVE_API ComplexMatrixoperator+= (const ComplexDiagMatrix &a)
 
OCTAVE_API ComplexMatrixoperator+= (const DiagMatrix &a)
 
OCTAVE_API ComplexMatrixoperator+= (const Matrix &a)
 
OCTAVE_API ComplexMatrixoperator-= (const ComplexDiagMatrix &a)
 
OCTAVE_API ComplexMatrixoperator-= (const DiagMatrix &a)
 
OCTAVE_API ComplexMatrixoperator-= (const Matrix &a)
 
ComplexMatrixoperator= (const ComplexMatrix &a)=default
 
OCTAVE_API bool operator== (const ComplexMatrix &a) const
 
MArray< Complexpermute (const Array< octave_idx_type > &vec, bool inv=false) const
 
OCTAVE_API ComplexMatrix prod (int dim=-1) const
 
OCTAVE_API ComplexMatrix pseudo_inverse (double tol=0.0) const
 
OCTAVE_API double rcond (MatrixType &mattype) const
 
OCTAVE_API double rcond (void) const
 
MArray< Complexreshape (const dim_vector &new_dims) const
 
void resize (octave_idx_type nr, octave_idx_type nc, const Complex &rfv=Complex(0))
 
OCTAVE_API ComplexRowVector row (octave_idx_type i) const
 
OCTAVE_API bool row_is_real_only (octave_idx_type) const
 
OCTAVE_API ComplexColumnVector row_max (Array< octave_idx_type > &index) const
 
OCTAVE_API ComplexColumnVector row_max (void) const
 
OCTAVE_API ComplexColumnVector row_min (Array< octave_idx_type > &index) const
 
OCTAVE_API ComplexColumnVector row_min (void) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexColumnVector solve (const ColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexColumnVector solve (const ComplexColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexMatrix solve (const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexMatrix solve (const Matrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexColumnVector solve (MatrixType &mattype, const ComplexColumnVector &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcon) const
 
OCTAVE_API ComplexMatrix solve (MatrixType &mattype, const Matrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const
 
OCTINTERP_API Array< octave::cdef_objectsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
OCTAVE_API Array< octave::idx_vectorsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
OCTINTERP_API Array< octave::cdef_objectsort (int, sortmode) const
 
OCTAVE_API Array< octave::idx_vectorsort (int, sortmode) const
 
OCTINTERP_API Array< octave_idx_typesort_rows_idx (sortmode) const
 
OCTAVE_API Array< octave_idx_typesort_rows_idx (sortmode) const
 
ComplexNDArray squeeze (void) const
 
OCTAVE_API ComplexMatrix stack (const ColumnVector &a) const
 
OCTAVE_API ComplexMatrix stack (const ComplexColumnVector &a) const
 
OCTAVE_API ComplexMatrix stack (const ComplexDiagMatrix &a) const
 
OCTAVE_API ComplexMatrix stack (const ComplexMatrix &a) const
 
OCTAVE_API ComplexMatrix stack (const ComplexRowVector &a) const
 
OCTAVE_API ComplexMatrix stack (const DiagMatrix &a) const
 
OCTAVE_API ComplexMatrix stack (const Matrix &a) const
 
OCTAVE_API ComplexMatrix stack (const RowVector &a) const
 
OCTAVE_API ComplexMatrix sum (int dim=-1) const
 
OCTAVE_API ComplexMatrix sumsq (int dim=-1) const
 
OCTAVE_API bool too_large_for_float (void) const
 
ComplexMatrix transpose (void) const
 
OCTAVE_API ComplexNDArray xsum (int dim=-1) const
 
First dimension

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
 
Second dimension

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
 

Static Public Member Functions

static OCTAVE_API octave_idx_type compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
 
static OCTAVE_API void increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
 

Protected Attributes

dim_vector m_dimensions
 
Array< T, Alloc >::ArrayRepm_rep
 
T * m_slice_data
 
octave_idx_type m_slice_len
 

Private Member Functions

ComplexMatrix finverse (MatrixType &mattype, octave_idx_type &info, double &rcon, bool force, bool calc_cond) const
 
ComplexMatrix fsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void instantiation_guard ()
 
ComplexMatrix ltsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool calc_cond=false, blas_trans_type transt=blas_no_trans) const
 
ComplexMatrix tinverse (MatrixType &mattype, octave_idx_type &info, double &rcon, bool force, bool calc_cond) const
 
ComplexMatrix utsolve (MatrixType &mattype, const ComplexMatrix &b, octave_idx_type &info, double &rcon, solve_singularity_handler sing_handler, bool calc_cond=false, blas_trans_type transt=blas_no_trans) const
 

Static Private Member Functions

static OCTARRAY_API void instantiation_guard ()
 
static OCTARRAY_API Array< T, Alloc >::ArrayRepnil_rep (void)
 

Friends

OCTAVE_API ComplexMatrix conj (const ComplexMatrix &a)
 
OCTAVE_API std::ostream & operator<< (std::ostream &os, const ComplexMatrix &a)
 
OCTAVE_API std::istream & operator>> (std::istream &is, ComplexMatrix &a)
 

Third dimension

Get the third dimension of the array (number of pages)

OCTARRAY_API Array< T, Alloc > & insert (const Array< T, Alloc > &a, const Array< octave_idx_type > &idx)
 Insert an array into another at a specified position. More...
 
OCTARRAY_API Array< T, Alloc > & insert (const Array< T, 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 Array< T, Allocreshape (octave_idx_type nr, octave_idx_type nc) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< T, Allochermitian (T(*fcn)(const T &)=nullptr) 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_vectordims (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 T & 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 T & 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 T & 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 T & 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 T & checkelem (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_API T & checkelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_API T & checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_API T & 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 T & elem (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API T & elem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API T & elem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API T & 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 T & operator() (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API T & operator() (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API T & operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API T & 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< T, Allocpage (octave_idx_type k) const
 Extract page: A(:,:,k+1). More...
 
OCTARRAY_API Array< T, Alloclinear_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 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_OVERRIDABLE_FUNC_API const T * data (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API T * 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< T, Allocindex (const octave::idx_vector &i) const
 Indexing without resizing. More...
 
OCTARRAY_API Array< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< T, Allocindex (const Array< octave::idx_vector > &ia) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< T, Allocindex (const octave::idx_vector &i, bool resize_ok, const T &rfv) const
 Indexing with possible resizing and fill. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< T, Allocindex (const octave::idx_vector &i, bool resize_ok) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const T &rfv) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< T, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok, const T &rfv) const
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API Array< T, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok) const
 Size of the specified dimension. More...
 
virtual OCTARRAY_API T resize_fill_value (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API void resize2 (octave_idx_type nr, octave_idx_type nc, const T &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 T &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 T &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< T, Alloc > &rhs, const T &rfv)
 Indexed assignment (always with resize & fill). More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void assign (const octave::idx_vector &i, const Array< T, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< T, Alloc > &rhs, const T &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< T, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const Array< octave::idx_vector > &ia, const Array< T, Alloc > &rhs, const T &rfv)
 Size of the specified dimension. More...
 
OCTARRAY_OVERRIDABLE_FUNC_API void assign (const Array< octave::idx_vector > &ia, const Array< T, 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< T, Allocsort (int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< T, Allocsort (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_typesort_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 T &value, sortmode mode=UNSORTED) const
 Do a binary lookup in a sorted array. More...
 
OCTARRAY_API Array< octave_idx_typelookup (const Array< T, 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_typefind (octave_idx_type n=-1, bool backward=false) const
 Find indices of (at most n) nonzero elements. More...
 
OCTARRAY_API Array< T, Allocnth_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...
 
template<typename U , typename F , typename A = std::allocator<U>>
Array< U, Amap (F fcn) const
 Apply function fcn to each element of the Array<T, Alloc>. More...
 
template<typename U , typename A = std::allocator<U>>
Array< U, Amap (U(&fcn)(T)) const
 Overloads for function references. More...
 
template<typename U , typename A = std::allocator<U>>
Array< U, Amap (U(&fcn)(const T &)) const
 Size of the specified dimension. More...
 
template<typename F , bool zero>
bool test (F fcn) const
 Generic any/all test functionality with arbitrary predicate. More...
 
template<typename F >
bool test_any (F fcn) const
 Simpler calls. More...
 
bool test_any (bool(&fcn)(T)) const
 Overloads for function references. More...
 
bool test_any (bool(&fcn)(const T &)) const
 Size of the specified dimension. More...
 
template<typename F >
bool test_all (F fcn) const
 Size of the specified dimension. More...
 
bool test_all (bool(&fcn)(T)) const
 Size of the specified dimension. More...
 
bool test_all (bool(&fcn)(const T &)) 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< T, Alloccat (int dim, octave_idx_type n, const Array< T, Alloc > *array_list)
 Concatenation along a specified (0-based) dimension, equivalent to cat(). More...
 

Detailed Description

Definition at line 40 of file CMatrix.h.

Member Typedef Documentation

◆ column_vector_type

◆ compare_fcn_type

template<typename T , typename Alloc >
typedef bool(* Array< T, Alloc >::compare_fcn_type) (typename ref_param< T >::type, typename ref_param< T >::type)
inherited

Definition at line 240 of file Array.h.

◆ complex_diag_matrix_type

◆ complex_elt_type

Definition at line 59 of file CMatrix.h.

◆ complex_matrix_type

Definition at line 53 of file CMatrix.h.

◆ crefT

template<typename T , typename Alloc >
typedef ref_param<T>::type Array< T, Alloc >::crefT
inherited

Definition at line 238 of file Array.h.

◆ element_type

template<typename T , typename Alloc >
typedef T Array< T, Alloc >::element_type
inherited

Definition at line 230 of file Array.h.

◆ real_column_vector_type

Definition at line 49 of file CMatrix.h.

◆ real_diag_matrix_type

Definition at line 55 of file CMatrix.h.

◆ real_elt_type

Definition at line 58 of file CMatrix.h.

◆ real_matrix_type

Definition at line 52 of file CMatrix.h.

◆ real_row_vector_type

Definition at line 50 of file CMatrix.h.

◆ row_vector_type

Definition at line 47 of file CMatrix.h.

◆ size_type

template<typename T , typename Alloc >
typedef octave_idx_type Array< T, Alloc >::size_type
inherited

Used for operator(), and returned by numel() and size() (beware: signed integer)

Definition at line 236 of file Array.h.

◆ solve_singularity_handler

typedef void(* ComplexMatrix::solve_singularity_handler) (double rcon)

Definition at line 61 of file CMatrix.h.

◆ value_type

template<typename T , typename Alloc >
typedef T Array< T, Alloc >::value_type
inherited

Definition at line 232 of file Array.h.

Constructor & Destructor Documentation

◆ ComplexMatrix() [1/22]

ComplexMatrix::ComplexMatrix ( void  )
default

◆ ComplexMatrix() [2/22]

ComplexMatrix::ComplexMatrix ( const ComplexMatrix a)
default

◆ ~ComplexMatrix()

ComplexMatrix::~ComplexMatrix ( void  )
default

◆ ComplexMatrix() [3/22]

ComplexMatrix::ComplexMatrix ( octave_idx_type  r,
octave_idx_type  c 
)
inline

Definition at line 71 of file CMatrix.h.

◆ ComplexMatrix() [4/22]

ComplexMatrix::ComplexMatrix ( octave_idx_type  r,
octave_idx_type  c,
const Complex val 
)
inline

Definition at line 74 of file CMatrix.h.

◆ ComplexMatrix() [5/22]

ComplexMatrix::ComplexMatrix ( const dim_vector dv)
inline

Definition at line 77 of file CMatrix.h.

◆ ComplexMatrix() [6/22]

ComplexMatrix::ComplexMatrix ( const dim_vector dv,
const Complex val 
)
inline

Definition at line 79 of file CMatrix.h.

◆ ComplexMatrix() [7/22]

template<typename U >
ComplexMatrix::ComplexMatrix ( const MArray< U > &  a)
inline

Definition at line 83 of file CMatrix.h.

◆ ComplexMatrix() [8/22]

template<typename U >
ComplexMatrix::ComplexMatrix ( const Array< U > &  a)
inline

Definition at line 86 of file CMatrix.h.

◆ ComplexMatrix() [9/22]

ComplexMatrix::ComplexMatrix ( const Matrix re,
const Matrix im 
)

◆ ComplexMatrix() [10/22]

ComplexMatrix::ComplexMatrix ( const Matrix a)
explicit

Definition at line 71 of file CMatrix.cc.

◆ ComplexMatrix() [11/22]

ComplexMatrix::ComplexMatrix ( const RowVector rv)
explicit

Definition at line 75 of file CMatrix.cc.

◆ ComplexMatrix() [12/22]

ComplexMatrix::ComplexMatrix ( const ColumnVector cv)
explicit

Definition at line 79 of file CMatrix.cc.

◆ ComplexMatrix() [13/22]

ComplexMatrix::ComplexMatrix ( const DiagMatrix a)
explicit

◆ ComplexMatrix() [14/22]

ComplexMatrix::ComplexMatrix ( const MDiagArray2< double > &  a)
explicit

◆ ComplexMatrix() [15/22]

ComplexMatrix::ComplexMatrix ( const DiagArray2< double > &  a)
explicit

◆ ComplexMatrix() [16/22]

ComplexMatrix::ComplexMatrix ( const ComplexRowVector rv)
explicit

Definition at line 104 of file CMatrix.cc.

◆ ComplexMatrix() [17/22]

ComplexMatrix::ComplexMatrix ( const ComplexColumnVector cv)
explicit

Definition at line 108 of file CMatrix.cc.

◆ ComplexMatrix() [18/22]

ComplexMatrix::ComplexMatrix ( const ComplexDiagMatrix a)
explicit

◆ ComplexMatrix() [19/22]

ComplexMatrix::ComplexMatrix ( const MDiagArray2< Complex > &  a)
explicit

◆ ComplexMatrix() [20/22]

ComplexMatrix::ComplexMatrix ( const DiagArray2< Complex > &  a)
explicit

◆ ComplexMatrix() [21/22]

ComplexMatrix::ComplexMatrix ( const boolMatrix a)
explicit

Definition at line 135 of file CMatrix.cc.

◆ ComplexMatrix() [22/22]

ComplexMatrix::ComplexMatrix ( const charMatrix a)
explicit

Member Function Documentation

◆ abs()

Matrix ComplexMatrix::abs ( void  ) const

Definition at line 2824 of file CMatrix.cc.

References ComplexNDArray::abs().

Referenced by SparseComplexMatrix::bsolve(), and norm1().

◆ all()

boolMatrix ComplexMatrix::all ( int  dim = -1) const

Definition at line 2782 of file CMatrix.cc.

References ComplexNDArray::all().

◆ all_elements_are_real()

bool ComplexNDArray::all_elements_are_real ( void  ) const
inherited

◆ all_integers()

bool ComplexNDArray::all_integers ( double &  max_val,
double &  min_val 
) const
inherited

Definition at line 289 of file CNDArray.cc.

References Array< T, Alloc >::elem(), Array< T, Alloc >::numel(), and x_nint().

◆ any()

boolMatrix ComplexMatrix::any ( int  dim = -1) const

Definition at line 2788 of file CMatrix.cc.

References ComplexNDArray::any().

◆ any_element_is_inf_or_nan()

bool ComplexNDArray::any_element_is_inf_or_nan ( void  ) const
inherited

Definition at line 271 of file CNDArray.cc.

References mx_inline_all_finite().

Referenced by Fgsvd(), Fsvd(), and EIG::init().

◆ any_element_is_nan()

bool ComplexNDArray::any_element_is_nan ( void  ) const
inherited

◆ append() [1/8]

ComplexMatrix ComplexMatrix::append ( const ColumnVector a) const

◆ append() [2/8]

ComplexMatrix ComplexMatrix::append ( const ComplexColumnVector a) const

◆ append() [3/8]

ComplexMatrix ComplexMatrix::append ( const ComplexDiagMatrix a) const

◆ append() [4/8]

ComplexMatrix ComplexMatrix::append ( const ComplexMatrix a) const

Definition at line 495 of file CMatrix.cc.

References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().

◆ append() [5/8]

ComplexMatrix ComplexMatrix::append ( const ComplexRowVector a) const

◆ append() [6/8]

ComplexMatrix ComplexMatrix::append ( const DiagMatrix a) const

◆ append() [7/8]

ComplexMatrix ComplexMatrix::append ( const Matrix a) const

Definition at line 435 of file CMatrix.cc.

References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().

◆ append() [8/8]

ComplexMatrix ComplexMatrix::append ( const RowVector a) const

◆ as_column()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::as_column ( void  ) const
inlineinherited

Return the array as a column vector.

Definition at line 420 of file Array.h.

References Array< T, Alloc >::m_dimensions, dim_vector::ndims(), and numel().

◆ as_matrix()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::as_matrix ( void  ) const
inlineinherited

Return the array as a matrix.

Definition at line 442 of file Array.h.

References Array< T, Alloc >::m_dimensions, dim_vector::ndims(), and dim_vector::redim().

Referenced by Sparse< T, Alloc >::index().

◆ as_row()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::as_row ( void  ) const
inlineinherited

Return the array as a row vector.

Definition at line 431 of file Array.h.

References Array< T, Alloc >::m_dimensions, dim_vector::ndims(), and numel().

◆ assign() [1/6]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::assign ( const Array< octave::idx_vector > &  ia,
const Array< T, Alloc > &  rhs 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 765 of file Array.h.

◆ assign() [2/6]

template<typename T , typename Alloc >
void Array< T, Alloc >::assign ( const Array< octave::idx_vector > &  ia,
const Array< T, Alloc > &  rhs,
const T &  rfv 
)
inherited

◆ assign() [3/6]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::assign ( const octave::idx_vector i,
const Array< T, Alloc > &  rhs 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 747 of file Array.h.

◆ assign() [4/6]

template<typename T , typename Alloc >
void Array< T, Alloc >::assign ( const octave::idx_vector i,
const Array< T, Alloc > &  rhs,
const T &  rfv 
)
inherited

◆ assign() [5/6]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Array< T, Alloc > &  rhs 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 756 of file Array.h.

◆ assign() [6/6]

template<typename T , typename Alloc >
void Array< T, Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Array< T, Alloc > &  rhs,
const T &  rfv 
)
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1184 of file Array-base.cc.

References dim_vector::chop_all_singletons(), Array< T, Alloc >::data(), Array< T, Alloc >::dim1(), Array< T, Alloc >::dim2(), Array< T, Alloc >::dims(), err_nonconformant(), n, dim_vector::ndims(), numel(), Array< T, Alloc >::numel(), r, dim_vector::redim(), Array< T, Alloc >::reshape(), dim_vector::zero_by_zero(), and zero_dims_inquire().

◆ byte_size()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API std::size_t Array< T, Alloc >::byte_size ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 499 of file Array.h.

References numel().

Referenced by octave_cell::byte_size(), DiagArray2< T >::byte_size(), PermMatrix::byte_size(), and octave_perm_matrix::save_binary().

◆ cat()

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::cat ( int  dim,
octave_idx_type  n,
const Array< T, Alloc > *  array_list 
)
staticinherited

Concatenation along a specified (0-based) dimension, equivalent to cat().

dim = -1 corresponds to dim = 0 and dim = -2 corresponds to dim = 1, but apply the looser matching rules of vertcat/horzcat.

Definition at line 2645 of file Array-base.cc.

References dim_vector::concat(), Array< T, Alloc >::dims(), dim_vector::hvcat(), max(), n, dim_vector::ndims(), and dim_vector::zero_by_zero().

Referenced by single_type_concat().

◆ changesign()

ComplexNDArray& ComplexNDArray::changesign ( void  )
inlineinherited

Definition at line 156 of file CNDArray.h.

References MArray< T >::changesign().

◆ checkelem() [1/8]

template<typename T , typename Alloc >
T & Array< T, Alloc >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 241 of file Array-base.cc.

References compute_index(), elem, and ra_idx.

◆ checkelem() [2/8]

template<typename T , typename Alloc >
Array< T, Alloc >::crefT Array< T, Alloc >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 276 of file Array-base.cc.

References compute_index(), elem, and ra_idx.

◆ checkelem() [3/8]

template<typename T , typename Alloc >
T & Array< T, Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 227 of file Array-base.cc.

References compute_index(), and elem.

◆ checkelem() [4/8]

template<typename T , typename Alloc >
Array< T, Alloc >::crefT Array< T, Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 261 of file Array-base.cc.

References compute_index(), and elem.

◆ checkelem() [5/8]

template<typename T , typename Alloc >
T & Array< T, Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 234 of file Array-base.cc.

References compute_index(), and elem.

◆ checkelem() [6/8]

template<typename T , typename Alloc >
Array< T, Alloc >::crefT Array< T, Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 268 of file Array-base.cc.

◆ checkelem() [7/8]

◆ checkelem() [8/8]

template<typename T , typename Alloc >
Array< T, Alloc >::crefT Array< T, Alloc >::checkelem ( octave_idx_type  n) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 248 of file Array-base.cc.

References elem, err_index_out_of_range(), err_invalid_index(), and n.

◆ clear() [1/3]

template<typename T , typename Alloc >
void Array< T, Alloc >::clear ( const dim_vector dv)
inherited

◆ clear() [2/3]

template<typename T , typename Alloc >
void Array< T, Alloc >::clear ( octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Definition at line 409 of file Array.h.

References r.

◆ clear() [3/3]

◆ cols()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::cols ( void  ) const
inlineinherited

Definition at line 469 of file Array.h.

Referenced by aepbalance< MT >::aepbalance(), ComplexMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::Matrix(), airy(), FloatComplexMatrix::append(), FloatMatrix::append(), append(), Matrix::append(), biry(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_max(), column_min(), FloatComplexMatrix::column_min(), FloatMatrix::column_min(), conj(), determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), diag(), FloatComplexMatrix::diag(), FloatMatrix::diag(), dmsolve_insert(), dmsolve_permute(), do_bessel(), drawcn(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), elem_xpow(), fill(), FloatComplexMatrix::fill(), FloatMatrix::fill(), finverse(), FloatComplexMatrix::finverse(), FloatMatrix::finverse(), fourier(), FloatComplexMatrix::fourier(), FloatMatrix::fourier(), fourier2d(), FloatComplexMatrix::fourier2d(), FloatMatrix::fourier2d(), fsolve(), FloatComplexMatrix::fsolve(), FloatMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ifourier(), FloatComplexMatrix::ifourier(), FloatMatrix::ifourier(), ifourier2d(), FloatComplexMatrix::ifourier2d(), FloatMatrix::ifourier2d(), Sparse< T, Alloc >::index(), FloatEIG::init(), hess< T >::init(), EIG::init(), chol< T >::init(), gepbalance< T >::init(), schur< T >::init(), qr< T >::init(), qrp< T >::init(), FloatComplexMatrix::insert(), FloatMatrix::insert(), insert(), qr< T >::insert_col(), FloatComplexMatrix::ishermitian(), FloatMatrix::issymmetric(), kron(), lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), FloatComplexMatrix::ltsolve(), FloatMatrix::ltsolve(), Matrix::ltsolve(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), make_cholb(), mark_facets(), matrix_real_probe(), octave_print_internal(), octave_print_internal_template(), operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), boolMatrix::operator==(), charMatrix::operator==(), operator==(), FloatComplexMatrix::operator==(), FloatMatrix::operator==(), Matrix::operator==(), pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), rcond(), FloatComplexMatrix::rcond(), FloatMatrix::rcond(), row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_max(), row_min(), FloatComplexMatrix::row_min(), FloatMatrix::row_min(), octave_cell::save_ascii(), octave_char_matrix_str::save_ascii(), save_mat_binary_data(), FloatComplexMatrix::stack(), FloatMatrix::stack(), stack(), Matrix::stack(), stack_complex_matrix(), FloatEIG::symmetric_init(), EIG::symmetric_init(), tinverse(), FloatComplexMatrix::tinverse(), FloatMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), octave_bool_matrix::try_narrowing_conversion(), unstack_complex_matrix(), qr< T >::update(), Table::updateColumnname(), Table::updateRowname(), utsolve(), FloatComplexMatrix::utsolve(), FloatMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), xgemm(), and xpow().

◆ column()

◆ column_is_real_only()

bool ComplexMatrix::column_is_real_only ( octave_idx_type  j) const

Definition at line 2867 of file CMatrix.cc.

References Array< T, Alloc >::elem(), imag(), and Array< T, Alloc >::rows().

Referenced by column_max(), and column_min().

◆ column_max() [1/2]

◆ column_max() [2/2]

ComplexRowVector ComplexMatrix::column_max ( void  ) const

Definition at line 3111 of file CMatrix.cc.

◆ column_min() [1/2]

◆ column_min() [2/2]

ComplexRowVector ComplexMatrix::column_min ( void  ) const

Definition at line 3036 of file CMatrix.cc.

◆ columns()

◆ compute_index() [1/4]

octave_idx_type ComplexNDArray::compute_index ( Array< octave_idx_type > &  ra_idx,
const dim_vector dimensions 
)
staticinherited

Definition at line 578 of file CNDArray.cc.

References compute_index(), and ra_idx.

◆ compute_index() [2/4]

template<typename T , typename Alloc >
octave_idx_type Array< T, Alloc >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 207 of file Array-base.cc.

References compute_index(), and ra_idx.

◆ compute_index() [3/4]

template<typename T , typename Alloc >
octave_idx_type Array< T, Alloc >::compute_index ( octave_idx_type  i,
octave_idx_type  j 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 192 of file Array-base.cc.

References compute_index().

◆ compute_index() [4/4]

template<typename T , typename Alloc >
octave_idx_type Array< T, Alloc >::compute_index ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 199 of file Array-base.cc.

References compute_index().

◆ compute_index_unchecked()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 517 of file Array.h.

References dim_vector::compute_index(), octave_base_value::numel(), and ra_idx.

◆ concat() [1/2]

ComplexNDArray ComplexNDArray::concat ( const ComplexNDArray rb,
const Array< octave_idx_type > &  ra_idx 
)
inherited

Definition at line 400 of file CNDArray.cc.

References ComplexNDArray::insert(), Array< T, Alloc >::numel(), and ra_idx.

◆ concat() [2/2]

ComplexNDArray ComplexNDArray::concat ( const NDArray rb,
const Array< octave_idx_type > &  ra_idx 
)
inherited

Definition at line 409 of file CNDArray.cc.

References ComplexNDArray::insert(), Array< T, Alloc >::numel(), and ra_idx.

◆ cummax() [1/2]

ComplexNDArray ComplexNDArray::cummax ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
inherited

Definition at line 460 of file CNDArray.cc.

References mx_inline_cummax().

◆ cummax() [2/2]

ComplexNDArray ComplexNDArray::cummax ( int  dim = -1) const
inherited

Definition at line 454 of file CNDArray.cc.

References mx_inline_cummax().

◆ cummin() [1/2]

ComplexNDArray ComplexNDArray::cummin ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
inherited

Definition at line 472 of file CNDArray.cc.

References mx_inline_cummin().

◆ cummin() [2/2]

ComplexNDArray ComplexNDArray::cummin ( int  dim = -1) const
inherited

Definition at line 466 of file CNDArray.cc.

References mx_inline_cummin().

◆ cumprod()

ComplexMatrix ComplexMatrix::cumprod ( int  dim = -1) const

Definition at line 2794 of file CMatrix.cc.

References ComplexNDArray::cumprod().

◆ cumsum()

ComplexMatrix ComplexMatrix::cumsum ( int  dim = -1) const

Definition at line 2800 of file CMatrix.cc.

References ComplexNDArray::cumsum().

◆ data()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API const T* Array< T, Alloc >::data ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 663 of file Array.h.

Referenced by Cell::Cell(), idx_vector::idx_mask_rep::idx_mask_rep(), NDArray::NDArray(), mxArray_octave_value::array_to_string(), octave_bool_matrix::as_mxArray(), octave_cell::as_mxArray(), octave_char_matrix::as_mxArray(), octave_complex_matrix::as_mxArray(), octave_float_complex_matrix::as_mxArray(), octave_float_matrix::as_mxArray(), ov_range< T >::as_mxArray(), octave_matrix::as_mxArray(), octave_struct::as_mxArray(), octave_scalar_struct::as_mxArray(), Array< T, Alloc >::assign(), binmap(), blkmm_internal(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), convert_cdata(), convolve(), DiagArray2< T >::data(), dmsolve_insert(), dmsolve_permute(), do_bitpack(), do_bsxfun_op(), do_merge(), do_mm_binary_op(), do_mx_check(), do_sm_binary_op(), do_tril(), do_triu(), opengl_selector::draw_image(), opengl_renderer::draw_patch(), opengl_renderer::draw_surface(), encode_bool_image(), encode_indexed_images(), F__native2unicode__(), F__pchip_deriv__(), F__unicode2native__(), F__unicode_length__(), opengl_selector::fake_text(), Fbase64_encode(), Fdot(), Fellipj(), filter(), Fordschur(), ComplexNDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), fourier(), FloatComplexMatrix::fourier(), FloatMatrix::fourier(), fourier2d(), ComplexNDArray::fourier2d(), FloatComplexMatrix::fourier2d(), FloatMatrix::fourier2d(), FloatNDArray::fourier2d(), ComplexNDArray::fourierNd(), FloatComplexNDArray::fourierNd(), FloatNDArray::fourierNd(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Funicode_idx(), mxArray_octave_value::get_string(), MArray< T >::idx_add(), MArray< T >::idx_add_nd(), MArray< T >::idx_max(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), ifourier(), Matrix::ifourier(), FloatComplexMatrix::ifourier(), ifourier2d(), ComplexNDArray::ifourier2d(), FloatComplexMatrix::ifourier2d(), FloatComplexNDArray::ifourier2d(), ComplexNDArray::ifourierNd(), FloatComplexNDArray::ifourierNd(), octave_char_matrix::index_vector(), qr< T >::insert_col(), kron(), Array< T, Alloc >::lookup(), ltsolve(), FloatComplexMatrix::ltsolve(), FloatMatrix::ltsolve(), LuAminusSigmaB(), maybe_convert_to_u16(), octave_cell::mex_get_data(), num2hex(), octinternal_do_mul_pm_sm(), octinternal_do_mul_sm_pm(), operator*(), ComplexColumnVector::operator+=(), FloatComplexColumnVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexRowVector::operator+=(), operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator-=(), FloatComplexColumnVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexRowVector::operator-=(), operator-=(), ComplexRowVector::operator-=(), boolMatrix::operator==(), charMatrix::operator==(), ColumnVector::operator==(), ComplexColumnVector::operator==(), operator==(), ComplexRowVector::operator==(), FloatColumnVector::operator==(), FloatComplexColumnVector::operator==(), FloatComplexMatrix::operator==(), FloatComplexRowVector::operator==(), FloatMatrix::operator==(), FloatRowVector::operator==(), Matrix::operator==(), RowVector::operator==(), qs_preprocess(), qs_replace(), qs_search(), rcond(), FloatComplexMatrix::rcond(), FloatMatrix::rcond(), read_indexed_images(), read_mat5_binary_element(), octave_perm_matrix::save_binary(), save_mat5_binary_element(), opengl_renderer::set_clipbox(), opengl_renderer::set_color(), rand::set_internal_state(), opengl_renderer::setup_opengl_transformation(), stack_complex_matrix(), unstack_complex_matrix(), lu< T >::update_piv(), utsolve(), FloatComplexMatrix::utsolve(), FloatMatrix::utsolve(), opengl_renderer::patch_tessellator::vertex(), stream::write(), and xgemm().

◆ delete_elements() [1/3]

template<typename T , typename Alloc >
void Array< T, Alloc >::delete_elements ( const Array< octave::idx_vector > &  ia)
inherited

Dispatcher to the above two.

Definition at line 1512 of file Array-base.cc.

References Array< T, Alloc >::numel().

◆ delete_elements() [2/3]

template<typename T , typename Alloc >
void Array< T, Alloc >::delete_elements ( const octave::idx_vector i)
inherited

Deleting elements.

A(I) = [] (with a single subscript)

Definition at line 1416 of file Array-base.cc.

References err_del_index_out_of_range(), Array< T, Alloc >::fortran_vec(), m, n, and numel().

Referenced by octave_map::delete_elements(), and Cell::delete_elements().

◆ delete_elements() [3/3]

template<typename T , typename Alloc >
void Array< T, Alloc >::delete_elements ( int  dim,
const octave::idx_vector i 
)
inherited

A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)

Definition at line 1456 of file Array-base.cc.

References err_del_index_out_of_range(), Array< T, Alloc >::fortran_vec(), and n.

◆ determinant() [1/4]

◆ determinant() [2/4]

ComplexDET ComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1179 of file CMatrix.cc.

References determinant().

◆ determinant() [3/4]

ComplexDET ComplexMatrix::determinant ( octave_idx_type info,
double &  rcon,
bool  calc_cond = true 
) const

Definition at line 1186 of file CMatrix.cc.

References determinant().

◆ determinant() [4/4]

ComplexDET ComplexMatrix::determinant ( void  ) const

Definition at line 1171 of file CMatrix.cc.

Referenced by determinant().

◆ diag() [1/2]

ComplexMatrix ComplexMatrix::diag ( octave_idx_type  k = 0) const

Definition at line 2830 of file CMatrix.cc.

References ComplexNDArray::diag().

Referenced by octave_complex_matrix::diag().

◆ diag() [2/2]

ComplexDiagMatrix ComplexMatrix::diag ( octave_idx_type  m,
octave_idx_type  n 
) const

Definition at line 2836 of file CMatrix.cc.

References Array< T, Alloc >::cols(), ComplexDiagMatrix, m, n, and Array< T, Alloc >::rows().

◆ diff()

ComplexNDArray ComplexNDArray::diff ( octave_idx_type  order = 1,
int  dim = -1 
) const
inherited

Definition at line 394 of file CNDArray.cc.

References mx_inline_diff().

Referenced by do_diff().

◆ dim1()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::dim1 ( void  ) const
inlineinherited

Definition at line 456 of file Array.h.

Referenced by Array< T, Alloc >::assign().

◆ dim2()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::dim2 ( void  ) const
inlineinherited

◆ dim3()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::dim3 ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 479 of file Array.h.

References dim_vector::ndims().

Referenced by ft_text_renderer::process_character(), base_text_renderer::rotate_pixels(), and latex_renderer::text_to_pixels().

◆ dims()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API const dim_vector& Array< T, Alloc >::dims ( void  ) const
inlineinherited

Return a const-reference so that dims ()(i) works efficiently.

Definition at line 503 of file Array.h.

Referenced by idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector_rep::idx_vector_rep(), NDArray::NDArray(), airy(), Array< T, Alloc >::assign(), octave_map::assign(), binmap(), biry(), bitopxx(), Array< T, Alloc >::cat(), FloatNDArray::concat(), charNDArray::concat(), conv_to_int_array(), convolve(), octave_map::delete_elements(), do_bessel(), do_bitpack(), do_bsxfun_op(), do_merge(), do_mm_binary_op(), do_numeric_lookup(), do_rand(), do_rc_map(), do_simple_cellfun(), do_sm_binary_op(), do_strcmp_fcn(), do_tril(), do_triu(), opengl_renderer::draw_surface(), octave_char_matrix_str::edit_display(), elem_xdiv(), elem_xpow(), encode_bool_image(), F__isprimelarge__(), F__make_valid_name__(), Fcell2struct(), Fcomplex(), Fellipj(), filter(), find_nonzero_elem_idx(), Fis_same_file(), Fisa(), Fisargout(), Fisfield(), Flookup(), ComplexNDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), ComplexNDArray::fourier2d(), FloatNDArray::fourier2d(), ComplexNDArray::fourierNd(), FloatComplexNDArray::fourierNd(), FloatNDArray::fourierNd(), Fregexprep(), Frepelems(), Fstr2double(), Fstrfind(), Fstrrep(), Fstruct(), Funicode_idx(), get_cell2struct_fields(), hex2num(), MArray< T >::idx_add_nd(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), FloatNDArray::ifourier(), ComplexNDArray::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatNDArray::ifourier2d(), ComplexNDArray::ifourierNd(), FloatComplexNDArray::ifourierNd(), FloatNDArray::ifourierNd(), octave_map::index(), gepbalance< T >::init(), Array< T, Alloc >::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), is_handle_visible(), ishghandle(), Array< T, Alloc >::lookup(), octave_float_matrix::map(), octave_matrix::map(), map_2_xldexp(), cdef_object::map_value(), maybe_convert_to_u16(), num2hex(), oct_catop_matrix_struct(), oct_catop_struct_matrix(), octave_print_internal(), octcellregexp(), operator<<(), octave_map::permute(), octave_cell::print_raw(), octave_map::setfield(), sizes_cmp(), cdef_object_array::subsasgn(), and try_cellfun_internal_ops().

◆ elem() [1/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 574 of file Array.h.

References Array< T, Alloc >::elem(), and ra_idx.

◆ elem() [2/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 607 of file Array.h.

References ra_idx, and Array< T, Alloc >::xelem().

◆ elem() [3/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 568 of file Array.h.

References elem.

◆ elem() [4/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 599 of file Array.h.

◆ elem() [5/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 571 of file Array.h.

References elem.

◆ elem() [6/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 603 of file Array.h.

◆ elem() [7/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::elem ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 562 of file Array.h.

References n.

Referenced by ComplexMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::Matrix(), Sparse< T, Alloc >::Sparse(), ComplexNDArray::all_integers(), FloatComplexNDArray::all_integers(), FloatNDArray::all_integers(), aepbalance< MT >::balancing_matrix(), octave_complex_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), ov_range< T >::char_array_value(), octave_matrix::char_array_value(), column_is_real_only(), FloatComplexMatrix::column_is_real_only(), column_max(), Matrix::column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_max(), column_min(), Matrix::column_min(), FloatComplexMatrix::column_min(), FloatMatrix::column_min(), NDArray::concat(), FloatNDArray::concat(), charNDArray::concat(), conj(), conv_to_int_array(), ddaspk_f(), ddaspk_j(), ddasrt_j(), ddassl_f(), ddassl_j(), delete_graphics_objects(), determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), DiagArray2< T >::dgelem(), LSODE::do_integrate(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), elem_xdiv(), ComplexRowVector::extract(), FloatComplexRowVector::extract(), FloatRowVector::extract(), ComplexDiagMatrix::extract(), charMatrix::extract(), DiagMatrix::extract(), FloatComplexDiagMatrix::extract(), FloatDiagMatrix::extract(), ComplexColumnVector::extract(), FloatComplexColumnVector::extract(), FloatColumnVector::extract(), ComplexRowVector::extract_n(), FloatComplexRowVector::extract_n(), FloatRowVector::extract_n(), ComplexColumnVector::extract_n(), FloatComplexColumnVector::extract_n(), FloatColumnVector::extract_n(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), qr< T >::form(), SparseComplexMatrix::fsolve(), Fsymrcm(), Givens(), FloatEIG::init(), EIG::init(), ComplexColumnVector::insert(), ColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), ComplexRowVector::insert(), RowVector::insert(), Matrix::insert(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), inverse(), FloatComplexMatrix::inverse(), FloatMatrix::inverse(), FloatMatrix::issymmetric(), octave_bool_matrix::load_ascii(), octave_cell::load_ascii(), octave_cell::load_binary(), octave_bool_matrix::load_hdf5(), lsode_f(), lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), matrix_real_probe(), SparseBoolMatrix::matrix_value(), SparseComplexMatrix::max(), SparseMatrix::max(), ComplexColumnVector::max(), ComplexRowVector::max(), FloatComplexColumnVector::max(), FloatColumnVector::max(), FloatComplexRowVector::max(), FloatRowVector::max(), SparseComplexMatrix::min(), SparseMatrix::min(), ComplexColumnVector::min(), ComplexRowVector::min(), FloatComplexColumnVector::min(), FloatColumnVector::min(), FloatComplexRowVector::min(), FloatRowVector::min(), boolMatrix::operator!(), intNDArray< T >::operator!(), operator*(), operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), operator<<(), operator>>(), bp_table::parse_dbfunction_params(), Array< T, Alloc >::permute(), pseudo_inverse(), Matrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), read_mat_ascii_data(), row_is_real_only(), FloatComplexMatrix::row_is_real_only(), row_max(), Matrix::row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_max(), row_min(), Matrix::row_min(), FloatComplexMatrix::row_min(), FloatMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_cell::save_hdf5(), and try_cellfun_internal_ops().

◆ elem() [8/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::elem ( octave_idx_type  n) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 595 of file Array.h.

References n.

◆ extract()

ComplexMatrix ComplexMatrix::extract ( octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
) const

Definition at line 683 of file CMatrix.cc.

References Array< T, Alloc >::index().

Referenced by Fdlmread(), and pseudo_inverse().

◆ extract_n()

ComplexMatrix ComplexMatrix::extract_n ( octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  nr,
octave_idx_type  nc 
) const

Definition at line 693 of file CMatrix.cc.

References Array< T, Alloc >::index().

◆ fill() [1/5]

ComplexMatrix & ComplexMatrix::fill ( const Complex val)

◆ fill() [2/5]

◆ fill() [3/5]

template<typename T , typename Alloc >
void Array< T, Alloc >::fill ( const T &  val)
inherited

Definition at line 95 of file Array-base.cc.

References numel().

Referenced by idx_vector::idx_scalar_rep::sort_idx().

◆ fill() [4/5]

ComplexMatrix & ComplexMatrix::fill ( double  val)

◆ fill() [5/5]

◆ find() [1/3]

template<typename T , typename Alloc >
Array< octave_idx_type > Array< T, Alloc >::find ( octave_idx_type  n = -1,
bool  backward = false 
) const
inherited

Find indices of (at most n) nonzero elements.

If n is specified, backward specifies search from backward.

Definition at line 2240 of file Array-base.cc.

References Array< T, Alloc >::clear(), Array< T, Alloc >::fortran_vec(), Array< T, Alloc >::isempty(), Array< T, Alloc >::m_dimensions, n, numel(), Array< T, Alloc >::numel(), and Array< T, Alloc >::resize2().

Referenced by idx_vector::idx_mask_rep::as_array(), find_nonzero_elem_idx(), and cdef_class::make_meta_class().

◆ find() [2/3]

OCTINTERP_API Array< octave_idx_type > Array< octave::cdef_object >::find ( octave_idx_type  ,
bool   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ find() [3/3]

OCTAVE_API Array< octave_idx_type > Array< octave::idx_vector >::find ( octave_idx_type  ,
bool   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ finverse()

ComplexMatrix ComplexMatrix::finverse ( MatrixType mattype,
octave_idx_type info,
double &  rcon,
bool  force,
bool  calc_cond 
) const
private

◆ fortran_vec()

template<typename T , typename Alloc >
T * Array< T, Alloc >::fortran_vec ( void  )
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1766 of file Array-base.cc.

Referenced by lu< T >::lu(), sparse_lu< lu_type >::sparse_lu(), SparseBoolMatrix::any(), octave_uint64_matrix::array_value(), idx_vector::idx_vector_rep::as_array(), mxArray_struct::as_octave_value(), mxArray_cell::as_octave_value(), Sparse< T, Alloc >::assign(), aepbalance< MT >::balancing_matrix(), base64_decode(), base64_decode_bytes(), binmap(), blkmm_internal(), octave_uint64_matrix::bool_array_value(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), cam2xform(), Array< octave_value * >::cat(), octave_uint64_matrix::char_array_value(), chol2inv_internal(), idx_vector::complement(), octave_uint64_matrix::complex_array_value(), octave_uint64_matrix::complex_matrix_value(), convert_cdata(), convolve(), Array< T, Alloc >::delete_elements(), determinant(), Matrix::determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), do_bitunpack(), do_bsxfun_op(), rand::do_float_nd_array(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DefQuad::do_integrate(), IndefQuad::do_integrate(), FloatDefQuad::do_integrate(), FloatIndefQuad::do_integrate(), rand::do_nd_array(), do_repelems(), base_stream::do_scanf(), do_scanf_conv(), rand::do_vector(), opengl_renderer::draw_patch(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), octave_fields::equal_up_to_order(), F__delaunayn__(), F__dsearchn__(), F__glpk__(), F__icholt__(), F__iluc__(), F__ilutp__(), F__magick_finfo__(), F__pchip_deriv__(), F__voronoi__(), SparseComplexMatrix::factorize(), SparseMatrix::factorize(), Famd(), Faudioread(), Fconvhulln(), Fdot(), Fellipj(), filter(), Array< T, Alloc >::find(), find_starting_node(), finverse(), Matrix::finverse(), FloatComplexMatrix::finverse(), FloatMatrix::finverse(), octave_uint64_matrix::float_array_value(), octave_uint64_matrix::float_complex_array_value(), octave_uint64_matrix::float_complex_matrix_value(), octave_uint64_matrix::float_matrix_value(), Fordqz(), Fordschur(), DiagArray2< T >::fortran_vec(), ComplexNDArray::fourier(), NDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), fourier(), Matrix::fourier(), FloatComplexMatrix::fourier(), FloatMatrix::fourier(), fourier2d(), ComplexNDArray::fourier2d(), Matrix::fourier2d(), NDArray::fourier2d(), FloatComplexMatrix::fourier2d(), FloatMatrix::fourier2d(), FloatNDArray::fourier2d(), ComplexNDArray::fourierNd(), NDArray::fourierNd(), FloatComplexNDArray::fourierNd(), FloatNDArray::fourierNd(), mxArray_base_full::fp_to_ov(), Fquadcc(), Fqz(), Frandperm(), fsolve(), FloatComplexMatrix::fsolve(), FloatMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymrcm(), rand::get_internal_state(), opengl_renderer::get_pixels(), gsvd< T >::ggsvd(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ichol_t(), MArray< T >::idx_add_nd(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), FloatNDArray::ifourier(), ifourier(), Matrix::ifourier(), FloatComplexMatrix::ifourier(), FloatMatrix::ifourier(), ifourier2d(), ComplexNDArray::ifourier2d(), Matrix::ifourier2d(), NDArray::ifourier2d(), FloatComplexMatrix::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatMatrix::ifourier2d(), FloatNDArray::ifourier2d(), ComplexNDArray::ifourierNd(), NDArray::ifourierNd(), FloatComplexNDArray::ifourierNd(), FloatNDArray::ifourierNd(), ilu_crout(), ilu_tp(), img_float2uint(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::index(), Range::index(), FloatEIG::init(), hess< T >::init(), EIG::init(), chol< T >::init(), gepbalance< T >::init(), schur< T >::init(), qr< T >::init(), qrp< T >::init(), CollocWt::init(), qr< T >::insert_col(), qr< T >::insert_row(), DASRT::integrate(), kron(), octave_char_matrix_str::load_ascii(), octave_char_matrix_str::load_binary(), Array< T, Alloc >::lookup(), lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), FloatComplexMatrix::ltsolve(), FloatMatrix::ltsolve(), Matrix::ltsolve(), LuAminusSigmaB(), Cell::map(), Array< T, Alloc >::map(), octave_uint64_matrix::matrix_value(), operator*(), ComplexColumnVector::operator+=(), FloatComplexColumnVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexRowVector::operator+=(), operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator-=(), FloatComplexColumnVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexRowVector::operator-=(), operator-=(), ComplexRowVector::operator-=(), PermMatrix::pos_power(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), qs_replace(), rcond(), Matrix::rcond(), FloatComplexMatrix::rcond(), FloatMatrix::rcond(), read_indexed_images(), read_mat5_binary_element(), read_mat_binary_data(), Array< T, Alloc >::resize(), Array< T, Alloc >::resize2(), rsf2csf< ComplexMatrix, Matrix >(), rsf2csf< FloatComplexMatrix, FloatMatrix >(), octave_char_matrix_str::save_ascii(), Array< T, Alloc >::sort(), string_vector::sort(), idx_vector::idx_vector_rep::sort_idx(), Range::sort_internal(), Array< T, Alloc >::sort_rows_idx(), sqrtm_utri_inplace(), stack_complex_matrix(), sub2ind(), SparseBoolMatrix::sum(), Sylvester(), FloatEIG::symmetric_init(), EIG::symmetric_init(), tinverse(), Matrix::tinverse(), FloatComplexMatrix::tinverse(), FloatMatrix::tinverse(), mxArray_separate_full::to_ov(), Utils::toRgb(), Array< T, Alloc >::transpose(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), unstack_complex_matrix(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), utsolve(), FloatComplexMatrix::utsolve(), FloatMatrix::utsolve(), Matrix::utsolve(), viridis_colormap(), and xgemm().

◆ fourier() [1/2]

ComplexNDArray ComplexNDArray::fourier ( int  dim = 1) const
inherited

◆ fourier() [2/2]

ComplexMatrix ComplexMatrix::fourier ( void  ) const

◆ fourier2d()

ComplexMatrix ComplexMatrix::fourier2d ( void  ) const

◆ fourierNd()

ComplexNDArray ComplexNDArray::fourierNd ( void  ) const
inherited

◆ fsolve()

◆ hermitian() [1/3]

MArray<Complex > MArray< Complex >::hermitian ( T(*)(const T &)  fcn = nullptr) const
inlineinherited

Definition at line 102 of file MArray.h.

◆ hermitian() [2/3]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::hermitian ( T(*)(const T &)  fcn = nullptr) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1668 of file Array-base.cc.

References Array< T, Alloc >::xelem().

Referenced by MArray< T >::hermitian().

◆ hermitian() [3/3]

ComplexMatrix ComplexMatrix::hermitian ( void  ) const
inline

◆ idx_add() [1/2]

void MArray< Complex >::idx_add ( const octave::idx_vector idx,
val 
)
inherited

Performs indexed accumulative addition.

Definition at line 107 of file MArray.cc.

◆ idx_add() [2/2]

void MArray< Complex >::idx_add ( const octave::idx_vector idx,
const MArray< T > &  vals 
)
inherited

Definition at line 109 of file MArray.cc.

◆ idx_add_nd()

void MArray< Complex >::idx_add_nd ( const octave::idx_vector idx,
const MArray< T > &  vals,
int  dim = -1 
)
inherited

Definition at line 119 of file MArray.cc.

◆ idx_max()

void MArray< Complex >::idx_max ( const octave::idx_vector idx,
const MArray< T > &  vals 
)
inherited

Definition at line 116 of file MArray.cc.

◆ idx_min()

void MArray< Complex >::idx_min ( const octave::idx_vector idx,
const MArray< T > &  vals 
)
inherited

Definition at line 113 of file MArray.cc.

◆ ifourier() [1/2]

ComplexNDArray ComplexNDArray::ifourier ( int  dim = 1) const
inherited

◆ ifourier() [2/2]

ComplexMatrix ComplexMatrix::ifourier ( void  ) const

◆ ifourier2d()

ComplexMatrix ComplexMatrix::ifourier2d ( void  ) const

◆ ifourierNd()

ComplexNDArray ComplexNDArray::ifourierNd ( void  ) const
inherited

◆ increment_index()

void ComplexNDArray::increment_index ( Array< octave_idx_type > &  ra_idx,
const dim_vector dimensions,
int  start_dimension = 0 
)
staticinherited

Definition at line 570 of file CNDArray.cc.

References ra_idx.

Referenced by ComplexNDArray::insert().

◆ index() [1/9]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::index ( const Array< octave::idx_vector > &  ia) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 844 of file Array-base.cc.

◆ index() [2/9]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::index ( const Array< octave::idx_vector > &  ia,
bool  resize_ok 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 736 of file Array.h.

◆ index() [3/9]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::index ( const Array< octave::idx_vector > &  ia,
bool  resize_ok,
const T &  rfv 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1106 of file Array-base.cc.

References dim_vector::alloc(), Array< T, Alloc >::index(), Array< T, Alloc >::m_dimensions, Array< T, Alloc >::numel(), dim_vector::redim(), and Array< T, Alloc >::resize().

◆ index() [4/9]

◆ index() [5/9]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::index ( const octave::idx_vector i,
bool  resize_ok 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 717 of file Array.h.

◆ index() [6/9]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::index ( const octave::idx_vector i,
bool  resize_ok,
const T &  rfv 
) const
inherited

Indexing with possible resizing and fill.

Definition at line 1054 of file Array-base.cc.

References Array< T, Alloc >::index(), n, numel(), Array< T, Alloc >::numel(), and Array< T, Alloc >::resize1().

◆ index() [7/9]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 786 of file Array-base.cc.

◆ index() [8/9]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 726 of file Array.h.

◆ index() [9/9]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok,
const T &  rfv 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1078 of file Array-base.cc.

References Array< T, Alloc >::columns(), Array< T, Alloc >::index(), r, dim_vector::redim(), Array< T, Alloc >::resize2(), and Array< T, Alloc >::rows().

◆ insert() [1/13]

template<typename T , typename Alloc >
Array< T, Alloc > & Array< T, Alloc >::insert ( const Array< T, Alloc > &  a,
const Array< octave_idx_type > &  idx 
)
inherited

Insert an array into another at a specified position.

If size (a) is [d1 d2 ... dN] and idx is [i1 i2 ... iN], this method is equivalent to x(i1:i1+d1-1, i2:i2+d2-1, ... , iN:iN+dN-1) = a.

Definition at line 1610 of file Array-base.cc.

References Array< T, Alloc >::dims(), n, octave_base_value::numel(), ra_idx, and dim_vector::redim().

Referenced by intNDArray< octave_uint8 >::increment_index(), boolMatrix::insert(), boolNDArray::insert(), Cell::insert(), charMatrix::insert(), charNDArray::insert(), ComplexNDArray::insert(), FloatComplexMatrix::insert(), FloatComplexNDArray::insert(), FloatNDArray::insert(), intNDArray< T >::insert(), Matrix::insert(), NDArray::insert(), and bp_table::parse_dbfunction_params().

◆ insert() [2/13]

template<typename T , typename Alloc >
Array< T, Alloc > & Array< T, Alloc >::insert ( const Array< T, Alloc > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited

This is just a special case for idx = [r c 0 ...].

Definition at line 1589 of file Array-base.cc.

References Array< T, Alloc >::columns(), Array< T, Alloc >::m_dimensions, Array< T, Alloc >::ndims(), r, and Array< T, Alloc >::rows().

◆ insert() [3/13]

◆ insert() [4/13]

◆ insert() [5/13]

◆ insert() [6/13]

ComplexMatrix & ComplexMatrix::insert ( const ComplexMatrix a,
octave_idx_type  r,
octave_idx_type  c 
)

Definition at line 280 of file CMatrix.cc.

References ComplexNDArray::insert(), and r.

◆ insert() [7/13]

ComplexNDArray & ComplexNDArray::insert ( const ComplexNDArray a,
const Array< octave_idx_type > &  ra_idx 
)
inherited

Definition at line 562 of file CNDArray.cc.

References Array< T, Alloc >::insert(), and ra_idx.

◆ insert() [8/13]

ComplexNDArray & ComplexNDArray::insert ( const ComplexNDArray a,
octave_idx_type  r,
octave_idx_type  c 
)
inherited

Definition at line 554 of file CNDArray.cc.

References Array< T, Alloc >::insert(), and r.

◆ insert() [9/13]

◆ insert() [10/13]

◆ insert() [11/13]

◆ insert() [12/13]

◆ insert() [13/13]

◆ instantiation_guard() [1/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< int >::instantiation_guard ( )
privateinherited

Definition at line 37 of file MArray-i.cc.

◆ instantiation_guard() [2/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int8 >::instantiation_guard ( )
privateinherited

Definition at line 47 of file MArray-i.cc.

◆ instantiation_guard() [3/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int16 >::instantiation_guard ( )
privateinherited

Definition at line 48 of file MArray-i.cc.

◆ instantiation_guard() [4/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int32 >::instantiation_guard ( )
privateinherited

Definition at line 49 of file MArray-i.cc.

◆ instantiation_guard() [5/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_int64 >::instantiation_guard ( )
privateinherited

Definition at line 50 of file MArray-i.cc.

◆ instantiation_guard() [6/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint8 >::instantiation_guard ( )
privateinherited

Definition at line 57 of file MArray-i.cc.

◆ instantiation_guard() [7/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint16 >::instantiation_guard ( )
privateinherited

Definition at line 58 of file MArray-i.cc.

◆ instantiation_guard() [8/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint32 >::instantiation_guard ( )
privateinherited

Definition at line 59 of file MArray-i.cc.

◆ instantiation_guard() [9/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< octave_uint64 >::instantiation_guard ( )
privateinherited

Definition at line 60 of file MArray-i.cc.

◆ instantiation_guard() [10/11]

OCTARRAY_CLASS_TEMPLATE_INSTANTIATION_API void MArray< short >::instantiation_guard ( )
privateinherited

Definition at line 35 of file MArray-s.cc.

◆ instantiation_guard() [11/11]

void MArray< Complex >::instantiation_guard
staticprivateinherited

Definition at line 125 of file MArray.cc.

◆ inverse() [1/6]

ComplexMatrix ComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 762 of file CMatrix.cc.

References inverse().

◆ inverse() [2/6]

ComplexMatrix ComplexMatrix::inverse ( MatrixType mattype,
octave_idx_type info 
) const

Definition at line 770 of file CMatrix.cc.

References inverse().

◆ inverse() [3/6]

◆ inverse() [4/6]

ComplexMatrix ComplexMatrix::inverse ( octave_idx_type info) const

Definition at line 746 of file CMatrix.cc.

References inverse().

◆ inverse() [5/6]

ComplexMatrix ComplexMatrix::inverse ( octave_idx_type info,
double &  rcon,
bool  force = false,
bool  calc_cond = true 
) const

Definition at line 754 of file CMatrix.cc.

References inverse().

◆ inverse() [6/6]

ComplexMatrix ComplexMatrix::inverse ( void  ) const

Definition at line 737 of file CMatrix.cc.

Referenced by inverse(), and xpow().

◆ ipermute()

MArray<Complex > MArray< Complex >::ipermute ( const Array< octave_idx_type > &  vec) const
inlineinherited

Definition at line 94 of file MArray.h.

◆ is_nd_vector()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API bool Array< T, Alloc >::is_nd_vector ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 657 of file Array.h.

References dim_vector::is_nd_vector().

◆ is_shared()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API bool Array< T, Alloc >::is_shared ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 674 of file Array.h.

References Array< T, Alloc >::ArrayRep::m_count.

Referenced by mx_el_or_assign(), operator*=(), operator+=(), operator-=(), operator/=(), product_eq(), and quotient_eq().

◆ is_sorted_rows() [1/3]

template<typename T , typename Alloc >
sortmode Array< T, Alloc >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 2099 of file Array-base.cc.

References ASCENDING, DESCENDING, elem, octave_sort< T >::is_sorted_rows(), r, safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.

Referenced by octave_cell::is_sorted_rows().

◆ is_sorted_rows() [2/3]

OCTINTERP_API sortmode Array< octave::cdef_object >::is_sorted_rows ( sortmode  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ is_sorted_rows() [3/3]

OCTAVE_API sortmode Array< octave::idx_vector >::is_sorted_rows ( sortmode  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ isempty()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API bool Array< T, Alloc >::isempty ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 651 of file Array.h.

References numel().

Referenced by ft_text_renderer::compute_bbox(), ft_text_renderer::compute_line_xoffset(), NDArray::concat(), FloatNDArray::concat(), charNDArray::concat(), convolve(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), bp_table::dbstop_process_map_args(), ddaspk_f(), ddasrt_f(), ddassl_f(), do_bsxfun_op(), do_minmax_red_op< boolNDArray >(), do_num2cell(), do_object2cell(), opengl_renderer::draw_axes_boxes(), opengl_renderer::draw_axes_planes(), opengl_renderer::draw_axes_x_grid(), opengl_renderer::draw_axes_y_grid(), opengl_renderer::draw_axes_z_grid(), opengl_renderer::draw_patch(), opengl_renderer::draw_scatter(), opengl_renderer::draw_surface(), opengl_renderer::draw_text_background(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__magick_write__(), Array< T, Alloc >::find(), find_config_info(), find_nonzero_elem_idx(), octave_bool_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), lsode_f(), lsode_user_function(), lsode_user_jacobian(), LuAminusSigmaB(), octave_print_internal(), latex_renderer::ok(), textscan::read_format_once(), textscan::scan_string(), opengl_renderer::set_color(), octave_cell::short_disp(), ft_text_renderer::text_to_pixels(), latex_renderer::text_to_pixels(), and val_in_table().

◆ isfinite()

boolNDArray ComplexNDArray::isfinite ( void  ) const
inherited

Definition at line 496 of file CNDArray.cc.

◆ ishermitian()

bool ComplexMatrix::ishermitian ( void  ) const

Definition at line 174 of file CMatrix.cc.

Referenced by F__eigs__(), and EIG::init().

◆ isinf()

boolNDArray ComplexNDArray::isinf ( void  ) const
inherited

Definition at line 490 of file CNDArray.cc.

◆ isnan()

boolNDArray ComplexNDArray::isnan ( void  ) const
inherited

Definition at line 484 of file CNDArray.cc.

◆ issorted() [1/4]

OCTAVE_API sortmode Array< float >::issorted ( sortmode  mode) const
inherited

Definition at line 101 of file Array-f.cc.

References ASCENDING, DESCENDING, isnan(), n, numel(), r, and UNSORTED.

◆ issorted() [2/4]

template<typename T , typename Alloc >
sortmode Array< T, Alloc >::issorted ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 2049 of file Array-base.cc.

References ASCENDING, DESCENDING, elem, octave_sort< T >::issorted(), n, numel(), safe_comparator(), octave_sort< T >::set_compare(), and UNSORTED.

Referenced by F__ode15__(), octave_cell::issorted(), and Array< T, Alloc >::lookup().

◆ issorted() [3/4]

OCTINTERP_API sortmode Array< octave::cdef_object >::issorted ( sortmode  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ issorted() [4/4]

OCTAVE_API sortmode Array< octave::idx_vector >::issorted ( sortmode  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ issquare()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API bool Array< T, Alloc >::issquare ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 648 of file Array.h.

Referenced by conj(), FloatComplexMatrix::ishermitian(), and FloatMatrix::issymmetric().

◆ isvector()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API bool Array< T, Alloc >::isvector ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 654 of file Array.h.

References dim_vector::isvector().

Referenced by Ffilter(), read_mat5_binary_element(), and sizes_cmp().

◆ linear_slice()

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::linear_slice ( octave_idx_type  lo,
octave_idx_type  up 
) const
inherited

Extract a slice from this array as a column vector: A(:)(lo+1:up).

Must be 0 <= lo && up <= numel. May be up < lo.

Definition at line 303 of file Array-base.cc.

◆ lookup() [1/6]

OCTINTERP_API Array< octave_idx_type > Array< octave::cdef_object >::lookup ( const Array< octave::cdef_object > &  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ lookup() [2/6]

OCTAVE_API Array< octave_idx_type > Array< octave::idx_vector >::lookup ( const Array< octave::idx_vector > &  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ lookup() [3/6]

template<typename T , typename Alloc >
Array< octave_idx_type > Array< T, Alloc >::lookup ( const Array< T, Alloc > &  values,
sortmode  mode = UNSORTED 
) const
inherited

◆ lookup() [4/6]

template<typename T , typename Alloc >
octave_idx_type Array< T, Alloc >::lookup ( const T &  value,
sortmode  mode = UNSORTED 
) const
inherited

Do a binary lookup in a sorted array.

Must not contain NaNs. Mode can be specified or is auto-detected by comparing 1st and last element.

Definition at line 2160 of file Array-base.cc.

References ASCENDING, DESCENDING, octave_sort< T >::descending_compare(), elem, octave_sort< T >::lookup(), n, numel(), octave_sort< T >::set_compare(), and UNSORTED.

Referenced by do_numeric_lookup(), Flookup(), and val_in_table().

◆ lookup() [5/6]

OCTINTERP_API octave_idx_type Array< octave::cdef_object >::lookup ( octave::cdef_object const &  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ lookup() [6/6]

OCTAVE_API octave_idx_type Array< octave::idx_vector >::lookup ( octave::idx_vector const &  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ lssolve() [1/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ColumnVector b) const

Definition at line 2445 of file CMatrix.cc.

References lssolve().

◆ lssolve() [2/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ColumnVector b,
octave_idx_type info 
) const

Definition at line 2454 of file CMatrix.cc.

References lssolve().

◆ lssolve() [3/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ColumnVector b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2462 of file CMatrix.cc.

References lssolve().

◆ lssolve() [4/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ColumnVector b,
octave_idx_type info,
octave_idx_type rank,
double &  rcon 
) const

Definition at line 2470 of file CMatrix.cc.

References lssolve().

◆ lssolve() [5/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ComplexColumnVector b) const

Definition at line 2477 of file CMatrix.cc.

References lssolve().

◆ lssolve() [6/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 2486 of file CMatrix.cc.

References lssolve().

◆ lssolve() [7/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ComplexColumnVector b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2495 of file CMatrix.cc.

References lssolve().

◆ lssolve() [8/16]

◆ lssolve() [9/16]

ComplexMatrix ComplexMatrix::lssolve ( const ComplexMatrix b) const

Definition at line 2252 of file CMatrix.cc.

References lssolve().

◆ lssolve() [10/16]

ComplexMatrix ComplexMatrix::lssolve ( const ComplexMatrix b,
octave_idx_type info 
) const

Definition at line 2261 of file CMatrix.cc.

References lssolve().

◆ lssolve() [11/16]

ComplexMatrix ComplexMatrix::lssolve ( const ComplexMatrix b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2269 of file CMatrix.cc.

References lssolve().

◆ lssolve() [12/16]

◆ lssolve() [13/16]

ComplexMatrix ComplexMatrix::lssolve ( const Matrix b) const

Definition at line 2220 of file CMatrix.cc.

Referenced by Matrix::lssolve(), lssolve(), and solve().

◆ lssolve() [14/16]

ComplexMatrix ComplexMatrix::lssolve ( const Matrix b,
octave_idx_type info 
) const

Definition at line 2229 of file CMatrix.cc.

References lssolve().

◆ lssolve() [15/16]

ComplexMatrix ComplexMatrix::lssolve ( const Matrix b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2237 of file CMatrix.cc.

References lssolve().

◆ lssolve() [16/16]

ComplexMatrix ComplexMatrix::lssolve ( const Matrix b,
octave_idx_type info,
octave_idx_type rank,
double &  rcon 
) const

Definition at line 2245 of file CMatrix.cc.

References lssolve().

◆ ltsolve()

◆ make_unique()

◆ map() [1/3]

template<typename T , typename Alloc >
template<typename U , typename F , typename A = std::allocator<U>>
Array<U, A> Array< T, Alloc >::map ( fcn) const
inlineinherited

Apply function fcn to each element of the Array<T, Alloc>.

This function is optimized with a manually unrolled loop.

Definition at line 865 of file Array.h.

References Array< T, Alloc >::fortran_vec(), len, m, and numel().

Referenced by octave_complex_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), ComplexDiagMatrix::rcond(), DiagMatrix::rcond(), FloatComplexDiagMatrix::rcond(), and FloatDiagMatrix::rcond().

◆ map() [2/3]

template<typename T , typename Alloc >
template<typename U , typename A = std::allocator<U>>
Array<U, A> Array< T, Alloc >::map ( U(&)(const T &)  fcn) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 910 of file Array.h.

◆ map() [3/3]

template<typename T , typename Alloc >
template<typename U , typename A = std::allocator<U>>
Array<U, A> Array< T, Alloc >::map ( U(&)(T)  fcn) const
inlineinherited

Overloads for function references.

Definition at line 901 of file Array.h.

◆ max() [1/2]

ComplexNDArray ComplexNDArray::max ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
inherited

Definition at line 436 of file CNDArray.cc.

References mx_inline_max().

◆ max() [2/2]

ComplexNDArray ComplexNDArray::max ( int  dim = -1) const
inherited

Definition at line 430 of file CNDArray.cc.

References mx_inline_max().

◆ maybe_economize()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::maybe_economize ( void  )
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 795 of file Array.h.

References Array< T, Alloc >::ArrayRep::m_count, Array< T, Alloc >::ArrayRep::m_data, and Array< T, Alloc >::ArrayRep::m_len.

◆ min() [1/2]

ComplexNDArray ComplexNDArray::min ( Array< octave_idx_type > &  index,
int  dim = -1 
) const
inherited

Definition at line 448 of file CNDArray.cc.

References mx_inline_min().

◆ min() [2/2]

ComplexNDArray ComplexNDArray::min ( int  dim = -1) const
inherited

Definition at line 442 of file CNDArray.cc.

References mx_inline_min().

◆ ndims()

◆ nil_rep()

template<typename T , typename Alloc >
Array< T, Alloc >::ArrayRep * Array< T, Alloc >::nil_rep ( void  )
staticprivateinherited

Definition at line 46 of file Array-base.cc.

◆ nnz() [1/3]

OCTINTERP_API octave_idx_type Array< octave::cdef_object >::nnz ( void  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ nnz() [2/3]

OCTAVE_API octave_idx_type Array< octave::idx_vector >::nnz ( void  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ nnz() [3/3]

template<typename T , typename Alloc >
octave_idx_type Array< T, Alloc >::nnz ( void  ) const
inherited

◆ nth_element() [1/3]

OCTINTERP_API Array< octave::cdef_object > Array< octave::cdef_object >::nth_element ( const octave::idx_vector ,
int   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ nth_element() [2/3]

OCTAVE_API Array< octave::idx_vector > Array< octave::idx_vector >::nth_element ( const octave::idx_vector ,
int   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ nth_element() [3/3]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::nth_element ( const octave::idx_vector n,
int  dim = 0 
) const
inherited

Returns the n-th element in increasing order, using the same ordering as used for sort.

n can either be a scalar index or a contiguous range.

Definition at line 2321 of file Array-base.cc.

References ASCENDING, DESCENDING, m, max(), min(), n, nn, octave_sort< T >::nth_element(), numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), and UNSORTED.

Referenced by Fnth_element().

◆ numel()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::numel ( void  ) const
inlineinherited

Number of elements in the array.

Definition at line 414 of file Array.h.

Referenced by Array< octave_value * >::Array(), Array< T, Alloc >::Array(), ButtonControl::ButtonControl(), Cell::Cell(), ComplexMatrix(), ComplexNDArray::ComplexNDArray(), DiagArray2< T >::DiagArray2(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), idx_vector::idx_vector(), idx_vector::idx_vector_rep::idx_vector_rep(), ListBoxControl::ListBoxControl(), NDArray::NDArray(), octave_value_list::octave_value_list(), SliderControl::SliderControl(), Sparse< T, Alloc >::Sparse(), sparse_lu< lu_type >::sparse_lu(), ComplexNDArray::all_integers(), FloatComplexNDArray::all_integers(), FloatNDArray::all_integers(), all_ones(), any_ones(), FloatComplexMatrix::append(), FloatComplexRowVector::append(), FloatMatrix::append(), FloatRowVector::append(), append(), ComplexRowVector::append(), Matrix::append(), RowVector::append(), octave_value_list::array_value(), Array< T, Alloc >::assign(), binmap(), bitopxx(), octave_cell::break_closure_cycles(), octave_class::break_closure_cycles(), octave_struct::break_closure_cycles(), calc_dimensions(), Canvas::canvasWheelEvent(), PermMatrix::checkelem(), boolNDArray::concat(), charNDArray::concat(), ComplexNDArray::concat(), FloatComplexNDArray::concat(), FloatNDArray::concat(), intNDArray< T >::concat(), NDArray::concat(), concat(), conv_to_int_array(), convert_cdata(), convert_position(), tree_evaluator::convert_return_list_to_const_vector(), convert_text_position(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), bp_table::dbstop_process_map_args(), default_numeric_conversion_function(), error_system::default_warning_state(), DEFMETHOD(), DEFMETHODX(), qr< T >::delete_col(), Array< T, Alloc >::delete_elements(), delete_graphics_objects(), cdef_class::cdef_class_rep::delete_object(), Array< octave_value * >::diag(), DiagArray2< T >::diag_length(), PermMatrix::dim1(), PermMatrix::dim2(), error_system::display_warning_options(), do_bessel(), do_bitpack(), do_bsxfun_op(), do_cellslices_nda(), do_cleanup_waitfor_listener(), rand::do_float_nd_array(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DefQuad::do_integrate(), FloatDefQuad::do_integrate(), do_mat2cell(), do_mat2cell_nd(), do_minmax_bin_op< charNDArray >(), do_mx_check(), rand::do_nd_array(), do_num2cell_helper(), do_permute(), do_rand(), do_rc_map(), sparse_params::do_set_vals(), do_simple_cellfun(), do_strcmp_fcn(), rand::do_vector(), chol< T >::downdate(), opengl_renderer::draw(), opengl_renderer::draw_all_lights(), opengl_renderer::draw_line(), opengl_renderer::draw_marker(), opengl_renderer::draw_patch(), opengl_renderer::draw_scatter(), opengl_selector::draw_text(), opengl_renderer::draw_text(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), elem_xdiv(), elem_xpow(), octave_fields::equal_up_to_order(), F__base64_decode_bytes__(), F__contourc__(), F__delaunayn__(), F__event_manager_input_dialog__(), F__event_manager_list_dialog__(), F__get__(), F__glpk__(), F__go_delete__(), F__go_execute_callback__(), F__go_post_callback__(), F__isprimelarge__(), F__magick_read__(), F__make_valid_name__(), F__native2unicode__(), F__ode15__(), F__pchip_deriv__(), F__unicode2native__(), F__unicode_length__(), F__voronoi__(), Fbase64_decode(), Fbase64_encode(), Fccolamd(), Fcell2struct(), Fcellslices(), Fcolamd(), Fcomplex(), Fconvhulln(), Fcsymamd(), Fdbstop(), Fdrawnow(), Fellipj(), Ffilter(), Fget(), ComplexDiagMatrix::fill(), DiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexColumnVector::fill(), ComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatColumnVector::fill(), FloatComplexRowVector::fill(), FloatRowVector::fill(), cdef_object_array::fill_empty_values(), filter(), finalize_r(), Array< T, Alloc >::find(), cdef_class::cdef_class_rep::find_method(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), find_nonzero_elem_idx(), cdef_class::cdef_class_rep::find_properties(), cdef_class::cdef_class_rep::find_property(), Fis_same_file(), Fisa(), Fisargout(), Fiscolumn(), Fisfield(), Fismatrix(), Fisrow(), Fisscalar(), Fissquare(), Fisvector(), Flookup(), Flu(), Fmatrix_type(), Fndims(), Fordschur(), curl_transfer::form_data_post(), curl_transfer::form_query_string(), ComplexNDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), ComplexNDArray::fourier2d(), FloatNDArray::fourier2d(), Fpow2(), Fquadcc(), Fregexprep(), Frepelems(), Freset(), Freshape(), Fresize(), Frmfield(), Utils::fromRgb(), Fset(), Fsize(), Fspparms(), Fstr2double(), Fstrfind(), Fstrrep(), Fsymamd(), Funicode_idx(), Furlread(), Furlwrite(), Fwarning(), cdef_object_scalar::get(), get_cell2struct_fields(), get_children_limits(), get_dim_vector(), get_dimensions(), get_region_range(), get_scalar_idx(), get_size(), get_sort_mode(), hex2num(), MArray< T >::idx_add(), MArray< T >::idx_max(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), FloatNDArray::ifourier(), ComplexNDArray::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatNDArray::ifourier2d(), Array< T, Alloc >::index(), opengl_renderer::init_gl_context(), ODES::initialize(), base_diff_alg_eqn::initialize(), initialize_r(), ComplexColumnVector::insert(), ColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), ComplexRowVector::insert(), RowVector::insert(), insert(), Matrix::insert(), qr< T >::insert_col(), qr< T >::insert_row(), chol< T >::insert_sym(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), sparse_chol< chol_type >::inverse(), is_handle_visible(), is_superclass(), ishghandle(), DiagArray2< T >::length(), linspace(), octave_bool_matrix::load_ascii(), scoped_fcn_handle::load_ascii(), scoped_fcn_handle::load_binary(), textscan::lookahead(), Array< T, Alloc >::lookup(), lookup_classes(), Matrix::lssolve(), lssolve(), FloatMatrix::lssolve(), FloatComplexMatrix::lssolve(), LuAminusSigmaB(), error_system::make_stack_frame_list(), map_2_xldexp(), cdef_object::map_value(), ComplexColumnVector::max(), ComplexRowVector::max(), FloatComplexColumnVector::max(), FloatColumnVector::max(), FloatComplexRowVector::max(), FloatRowVector::max(), maybe_convert_to_u16(), ComplexColumnVector::min(), ComplexRowVector::min(), FloatComplexColumnVector::min(), FloatColumnVector::min(), FloatComplexRowVector::min(), FloatRowVector::min(), norm1(), null(), num2hex(), numel(), octave_class::numeric_conv(), octave_print_internal(), octcellregexp(), operator*(), ComplexColumnVector::operator+=(), FloatComplexColumnVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexRowVector::operator+=(), operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator-=(), FloatComplexColumnVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexRowVector::operator-=(), operator-=(), ComplexRowVector::operator-=(), operator<<(), ColumnVector::operator==(), ComplexColumnVector::operator==(), operator==(), ComplexRowVector::operator==(), FloatColumnVector::operator==(), FloatComplexColumnVector::operator==(), FloatComplexMatrix::operator==(), FloatComplexRowVector::operator==(), FloatMatrix::operator==(), FloatRowVector::operator==(), RowVector::operator==(), operator>>(), bp_table::parse_dbfunction_params(), textscan::parse_options(), PermMatrix::perm_length(), octave_base_diag< DMT, MT >::permute(), Array< T, Alloc >::permute(), Sparse< T, Alloc >::permute(), print_DASPK_options(), print_DASRT_options(), print_DASSL_options(), print_LSODE_options(), pseudo_inverse(), Matrix::pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), qp(), qs_preprocess(), qs_replace(), qs_search(), read_images(), read_indexed_images(), read_mat5_binary_element(), read_mat5_binary_file_header(), textscan::read_until(), type_info::register_type(), ft_text_renderer::render(), opengl_renderer::render_grid(), opengl_renderer::render_tickmarks(), opengl_renderer::render_ticktexts(), safe_comparator(), octave_perm_matrix::save_ascii(), save_mat5_binary_element(), save_mat5_element_length(), textscan::scan_complex(), textscan::scan_string(), Canvas::select_object(), gnuplot_graphics_toolkit::send_quit(), ft_text_renderer::set_color(), latex_renderer::set_color(), annotation_dialog::set_gui_props(), curl_transfer::set_header_fields(), rand::set_internal_state(), ft_text_renderer::set_mode(), error_system::set_warning_option(), PermMatrix::setup(), show_DASPK_options(), show_DASRT_options(), show_DASSL_options(), show_LSODE_options(), sizes_cmp(), textscan::skip_delim(), textscan::skip_whitespace(), ComplexColumnVector::stack(), ColumnVector::stack(), FloatComplexColumnVector::stack(), FloatColumnVector::stack(), FloatComplexMatrix::stack(), FloatMatrix::stack(), stack(), Matrix::stack(), sub2ind(), cdef_object_array::subsasgn(), octave_cell::subsasgn(), octave_struct::subsasgn(), octave_class::subsasgn_common(), octave_struct::subsref(), octave_cell::subsref(), octave_class::subsref(), cdef_object_array::subsref(), ButtonControl::toggled(), PermMatrix::transpose(), try_cellfun_internal_ops(), octave_complex_matrix::try_narrowing_conversion(), octave_float_complex_matrix::try_narrowing_conversion(), octave_float_matrix::try_narrowing_conversion(), octave_matrix::try_narrowing_conversion(), chol< T >::update(), lu< T >::update(), qr< T >::update(), ButtonControl::update(), PopupMenuControl::update(), SliderControl::update(), file_editor_tab::update_lexer_settings(), lu< T >::update_piv(), workspace_model::update_table(), update_text_pos(), Table::updateColumnname(), Table::updateColumnwidth(), Canvas::updateCurrentPoint(), Table::updateRowname(), updateSelection(), SliderControl::valueChanged(), vector_norm(), opengl_renderer::patch_tessellator::vertex(), tree_evaluator::visit_complex_for_command(), error_system::warning_query(), anonymous_fcn_handle::workspace(), weak_anonymous_fcn_handle::workspace(), stream::write(), write_mat5_cell_array(), xzip(), and zero_dims_inquire().

◆ operator!()

boolNDArray ComplexNDArray::operator! ( void  ) const
inherited

◆ operator!=()

bool ComplexMatrix::operator!= ( const ComplexMatrix a) const

Definition at line 168 of file CMatrix.cc.

◆ operator()() [1/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 583 of file Array.h.

References elem, and ra_idx.

◆ operator()() [2/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 619 of file Array.h.

References elem, and ra_idx.

◆ operator()() [3/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 579 of file Array.h.

References elem.

◆ operator()() [4/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 613 of file Array.h.

References elem.

◆ operator()() [5/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 581 of file Array.h.

References elem.

◆ operator()() [6/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 616 of file Array.h.

References elem.

◆ operator()() [7/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::operator() ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 577 of file Array.h.

References elem, and n.

◆ operator()() [8/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::operator() ( octave_idx_type  n) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 611 of file Array.h.

References elem, and n.

◆ operator+=() [1/3]

◆ operator+=() [2/3]

◆ operator+=() [3/3]

◆ operator-=() [1/3]

◆ operator-=() [2/3]

◆ operator-=() [3/3]

◆ operator=()

ComplexMatrix& ComplexMatrix::operator= ( const ComplexMatrix a)
default

◆ operator==()

bool ComplexMatrix::operator== ( const ComplexMatrix a) const

◆ optimize_dimensions()

template<typename T , typename Alloc >
bool Array< T, Alloc >::optimize_dimensions ( const dim_vector dv)
inherited

Returns true if this->dims () == dv, and if so, replaces this->m_dimensions by a shallow copy of dv.

This is useful for maintaining several arrays with supposedly equal dimensions (e.g. structs in the interpreter).

Definition at line 2765 of file Array-base.cc.

◆ page()

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::page ( octave_idx_type  k) const
inherited

Extract page: A(:,:,k+1).

Definition at line 292 of file Array-base.cc.

References r.

◆ pages()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::pages ( void  ) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 481 of file Array.h.

◆ permute()

MArray<Complex > MArray< Complex >::permute ( const Array< octave_idx_type > &  vec,
bool  inv = false 
) const
inlineinherited

Definition at line 90 of file MArray.h.

◆ print_info()

template<typename T , typename Alloc >
void Array< T, Alloc >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 2749 of file Array-base.cc.

Referenced by DiagArray2< T >::print_info(), and PermMatrix::print_info().

◆ prod()

ComplexMatrix ComplexMatrix::prod ( int  dim = -1) const

Definition at line 2806 of file CMatrix.cc.

References ComplexNDArray::prod().

◆ pseudo_inverse()

◆ rcond() [1/2]

◆ rcond() [2/2]

double ComplexMatrix::rcond ( void  ) const

Definition at line 1350 of file CMatrix.cc.

◆ reshape() [1/2]

MArray<Complex > MArray< Complex >::reshape ( const dim_vector new_dims) const
inlineinherited

Definition at line 87 of file MArray.h.

◆ reshape() [2/2]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API Array<T, Alloc> Array< T, Alloc >::reshape ( octave_idx_type  nr,
octave_idx_type  nc 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 635 of file Array.h.

Referenced by idx_vector::idx_mask_rep::as_array(), Array< T, Alloc >::assign(), Fbase64_decode(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::index(), octave_map::reshape(), Cell::reshape(), octave_base_scalar< ST >::reshape(), and MArray< T >::reshape().

◆ resize() [1/3]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::resize ( const dim_vector dv)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 704 of file Array.h.

◆ resize() [2/3]

template<typename T , typename Alloc >
void Array< T, Alloc >::resize ( const dim_vector dv,
const T &  rfv 
)
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1032 of file Array-base.cc.

References dim_vector::any_neg(), err_invalid_resize(), Array< T, Alloc >::fortran_vec(), dim_vector::ndims(), dim_vector::redim(), and rec_resize_helper::resize_fill().

Referenced by DiagArray2< T >::DiagArray2(), sparse_lu< lu_type >::sparse_lu(), octave_value_list::array_value(), base64_decode(), base64_decode_bytes(), bitopxx(), bp_lines_to_ov(), Cell::column(), column_max(), Matrix::column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_max(), column_min(), Matrix::column_min(), FloatComplexMatrix::column_min(), FloatMatrix::column_min(), regexp::compile_internal(), dmsolve_permute(), do_bessel(), do_fft(), do_fft2(), do_fftn(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), do_object2cell(), tree_cell::evaluate(), F__glpk__(), F__magick_read__(), Fbsxfun(), Ffilter(), Fget(), filter(), find_nonzero_elem_idx(), finverse(), Matrix::finverse(), FloatComplexMatrix::finverse(), FloatMatrix::finverse(), Frandperm(), Fsize(), Fwarning(), get_ra_idx(), ichol_t(), MArray< T >::idx_add_nd(), ilu_crout(), ilu_tp(), Array< T, Alloc >::index(), DASRT::integrate(), octave_bool_matrix::load_hdf5(), octave_cell::load_hdf5(), octave_complex_matrix::load_hdf5(), octave_float_complex_matrix::load_hdf5(), octave_float_matrix::load_hdf5(), octave_matrix::load_hdf5(), octave_char_matrix_str::load_hdf5(), lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), SparseComplexMatrix::max(), SparseMatrix::max(), SparseComplexMatrix::min(), SparseMatrix::min(), type_info::register_type(), octave_map::resize(), ov_range< T >::resize(), octave_char_matrix_str::resize(), octave_char_matrix_sq_str::resize(), ComplexColumnVector::resize(), ComplexRowVector::resize(), ColumnVector::resize(), RowVector::resize(), FloatColumnVector::resize(), FloatRowVector::resize(), FloatComplexColumnVector::resize(), FloatComplexRowVector::resize(), DiagArray2< T >::resize(), boolMatrix::resize(), charMatrix::resize(), row_max(), Matrix::row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_max(), row_min(), Matrix::row_min(), FloatComplexMatrix::row_min(), FloatMatrix::row_min(), error_system::set_warning_option(), octave_base_scalar< ST >::sort(), and Range::sort_internal().

◆ resize() [3/3]

◆ resize1() [1/2]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::resize1 ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 700 of file Array.h.

References n.

◆ resize1() [2/2]

template<typename T , typename Alloc >
void Array< T, Alloc >::resize1 ( octave_idx_type  n,
const T &  rfv 
)
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 919 of file Array-base.cc.

References err_invalid_resize(), n, and numel().

Referenced by Array< T, Alloc >::index().

◆ resize2() [1/2]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API void Array< T, Alloc >::resize2 ( octave_idx_type  nr,
octave_idx_type  nc 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 694 of file Array.h.

◆ resize2() [2/2]

template<typename T , typename Alloc >
void Array< T, Alloc >::resize2 ( octave_idx_type  nr,
octave_idx_type  nc,
const T &  rfv 
)
inherited

Resizing (with fill).

Definition at line 990 of file Array-base.cc.

References err_invalid_resize(), Array< T, Alloc >::fortran_vec(), min(), and r.

Referenced by Array< T, Alloc >::find(), and Array< T, Alloc >::index().

◆ resize_fill_value()

template<typename T , typename Alloc >
T Array< T, Alloc >::resize_fill_value ( void  ) const
virtualinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Reimplemented in Cell.

Definition at line 908 of file Array-base.cc.

◆ row()

ComplexRowVector ComplexMatrix::row ( octave_idx_type  i) const

Definition at line 702 of file CMatrix.cc.

References Array< T, Alloc >::index().

◆ row_is_real_only()

bool ComplexMatrix::row_is_real_only ( octave_idx_type  i) const

Definition at line 2848 of file CMatrix.cc.

References Array< T, Alloc >::columns(), Array< T, Alloc >::elem(), and imag().

Referenced by row_max(), and row_min().

◆ row_max() [1/2]

◆ row_max() [2/2]

ComplexColumnVector ComplexMatrix::row_max ( void  ) const

Definition at line 2961 of file CMatrix.cc.

◆ row_min() [1/2]

◆ row_min() [2/2]

ComplexColumnVector ComplexMatrix::row_min ( void  ) const

Definition at line 2886 of file CMatrix.cc.

◆ rows()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type Array< T, Alloc >::rows ( void  ) const
inlineinherited

Definition at line 459 of file Array.h.

Referenced by aepbalance< MT >::aepbalance(), ComplexMatrix(), FloatComplexMatrix::FloatComplexMatrix(), FloatMatrix::FloatMatrix(), lu< T >::lu(), Matrix::Matrix(), airy(), FloatComplexMatrix::append(), FloatMatrix::append(), append(), Matrix::append(), biry(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), octave_char_matrix_str::cellstr_value(), Table::checkBoxClicked(), column_is_real_only(), FloatComplexMatrix::column_is_real_only(), column_max(), FloatComplexMatrix::column_max(), FloatMatrix::column_max(), column_min(), FloatComplexMatrix::column_min(), FloatMatrix::column_min(), conj(), convert_cdata(), determinant(), FloatComplexMatrix::determinant(), FloatMatrix::determinant(), octave_complex_matrix::diag(), octave_float_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), diag(), FloatComplexMatrix::diag(), FloatMatrix::diag(), dmsolve_insert(), dmsolve_permute(), do_bessel(), do_fftn(), do_gsvd(), do_repelems(), do_tril(), do_triu(), opengl_renderer::draw_patch(), opengl_renderer::draw_scatter(), opengl_renderer::draw_surface(), drawcn(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), sparse_qr< SPARSE_T >::E_MAT(), elem_xdiv(), elem_xpow(), encode_bool_image(), encode_indexed_images(), F__delaunayn__(), F__event_manager_file_dialog__(), F__event_manager_input_dialog__(), F__pchip_deriv__(), F__voronoi__(), Faudiowrite(), Fconvhulln(), fill(), FloatComplexMatrix::fill(), FloatMatrix::fill(), find_nonzero_elem_idx(), finverse(), FloatComplexMatrix::finverse(), FloatMatrix::finverse(), qr< T >::form(), fourier(), FloatComplexMatrix::fourier(), FloatMatrix::fourier(), fourier2d(), FloatComplexMatrix::fourier2d(), FloatMatrix::fourier2d(), Frepelems(), fsolve(), FloatComplexMatrix::fsolve(), FloatMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fstrrep(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ifourier(), FloatComplexMatrix::ifourier(), FloatMatrix::ifourier(), ifourier2d(), FloatComplexMatrix::ifourier2d(), FloatMatrix::ifourier2d(), Sparse< T, Alloc >::index(), Array< T, Alloc >::index(), FloatEIG::init(), hess< T >::init(), EIG::init(), chol< T >::init(), gepbalance< T >::init(), schur< T >::init(), qr< T >::init(), qrp< T >::init(), Array< T, Alloc >::insert(), FloatComplexMatrix::insert(), FloatMatrix::insert(), insert(), inverse(), FloatComplexMatrix::inverse(), FloatMatrix::inverse(), FloatComplexMatrix::ishermitian(), FloatMatrix::issymmetric(), kron(), lssolve(), FloatComplexMatrix::lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), FloatComplexMatrix::ltsolve(), FloatMatrix::ltsolve(), Matrix::ltsolve(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), mark_facets(), mark_upper_triangular(), matrix_real_probe(), max(), min(), octave_print_internal(), octave_print_internal_template(), operator*(), operator+=(), FloatComplexMatrix::operator+=(), FloatMatrix::operator+=(), operator-=(), FloatComplexMatrix::operator-=(), FloatMatrix::operator-=(), boolMatrix::operator==(), charMatrix::operator==(), operator==(), FloatComplexMatrix::operator==(), FloatMatrix::operator==(), Matrix::operator==(), pointer_to_qimage(), pseudo_inverse(), FloatComplexMatrix::pseudo_inverse(), FloatMatrix::pseudo_inverse(), rcond(), FloatComplexMatrix::rcond(), FloatMatrix::rcond(), regexp::replace(), row_max(), FloatComplexMatrix::row_max(), FloatMatrix::row_max(), row_min(), FloatComplexMatrix::row_min(), FloatMatrix::row_min(), rsf2csf< ComplexMatrix, Matrix >(), rsf2csf< FloatComplexMatrix, FloatMatrix >(), octave_cell::save_ascii(), octave_char_matrix_str::save_ascii(), save_mat_binary_data(), save_three_d(), sizes_cmp(), sqrtm_utri_inplace(), FloatComplexMatrix::stack(), FloatMatrix::stack(), stack(), Matrix::stack(), stack_complex_matrix(), streameuler2d_internal(), octave_char_matrix_str::string_value(), octave_char_matrix_str::string_vector_value(), tree_evaluator::switch_case_label_matches(), Sylvester(), FloatEIG::symmetric_init(), EIG::symmetric_init(), tinverse(), FloatComplexMatrix::tinverse(), FloatMatrix::tinverse(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), octave_bool_matrix::try_narrowing_conversion(), unstack_complex_matrix(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), Table::updateColumnname(), Table::updateRowname(), utsolve(), FloatComplexMatrix::utsolve(), FloatMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), xgemm(), and xpow().

◆ size()

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API size_type Array< T, Alloc >::size ( const size_type  d) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 492 of file Array.h.

References d.

Referenced by textscan::parse_options(), and octave_value::size().

◆ solve() [1/32]

ComplexColumnVector ComplexMatrix::solve ( const ColumnVector b) const

Definition at line 2157 of file CMatrix.cc.

References solve().

◆ solve() [2/32]

ComplexColumnVector ComplexMatrix::solve ( const ColumnVector b,
octave_idx_type info 
) const

Definition at line 2165 of file CMatrix.cc.

References solve().

◆ solve() [3/32]

ComplexColumnVector ComplexMatrix::solve ( const ColumnVector b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 2172 of file CMatrix.cc.

References solve().

◆ solve() [4/32]

ComplexColumnVector ComplexMatrix::solve ( const ColumnVector b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2179 of file CMatrix.cc.

References solve().

◆ solve() [5/32]

ComplexColumnVector ComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 2188 of file CMatrix.cc.

References solve().

◆ solve() [6/32]

ComplexColumnVector ComplexMatrix::solve ( const ComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 2196 of file CMatrix.cc.

References solve().

◆ solve() [7/32]

ComplexColumnVector ComplexMatrix::solve ( const ComplexColumnVector b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 2203 of file CMatrix.cc.

References solve().

◆ solve() [8/32]

ComplexColumnVector ComplexMatrix::solve ( const ComplexColumnVector b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2210 of file CMatrix.cc.

References solve().

◆ solve() [9/32]

ComplexMatrix ComplexMatrix::solve ( const ComplexMatrix b) const

Definition at line 2125 of file CMatrix.cc.

References solve().

◆ solve() [10/32]

ComplexMatrix ComplexMatrix::solve ( const ComplexMatrix b,
octave_idx_type info 
) const

Definition at line 2133 of file CMatrix.cc.

References solve().

◆ solve() [11/32]

ComplexMatrix ComplexMatrix::solve ( const ComplexMatrix b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 2140 of file CMatrix.cc.

References solve().

◆ solve() [12/32]

ComplexMatrix ComplexMatrix::solve ( const ComplexMatrix b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2147 of file CMatrix.cc.

References solve().

◆ solve() [13/32]

ComplexMatrix ComplexMatrix::solve ( const Matrix b) const

Definition at line 2094 of file CMatrix.cc.

References solve().

◆ solve() [14/32]

ComplexMatrix ComplexMatrix::solve ( const Matrix b,
octave_idx_type info 
) const

Definition at line 2102 of file CMatrix.cc.

References solve().

◆ solve() [15/32]

ComplexMatrix ComplexMatrix::solve ( const Matrix b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 2109 of file CMatrix.cc.

References solve().

◆ solve() [16/32]

ComplexMatrix ComplexMatrix::solve ( const Matrix b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2116 of file CMatrix.cc.

References solve().

◆ solve() [17/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ColumnVector b 
) const

Definition at line 2026 of file CMatrix.cc.

References solve().

◆ solve() [18/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ColumnVector b,
octave_idx_type info 
) const

Definition at line 2034 of file CMatrix.cc.

References solve().

◆ solve() [19/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ColumnVector b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 2042 of file CMatrix.cc.

References solve().

◆ solve() [20/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ColumnVector b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2049 of file CMatrix.cc.

References solve().

◆ solve() [21/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ComplexColumnVector b 
) const

Definition at line 2059 of file CMatrix.cc.

References solve().

◆ solve() [22/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 2067 of file CMatrix.cc.

References solve().

◆ solve() [23/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ComplexColumnVector b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 2075 of file CMatrix.cc.

References solve().

◆ solve() [24/32]

ComplexColumnVector ComplexMatrix::solve ( MatrixType mattype,
const ComplexColumnVector b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2082 of file CMatrix.cc.

References column(), and solve().

◆ solve() [25/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const ComplexMatrix b 
) const

Definition at line 1965 of file CMatrix.cc.

References solve().

◆ solve() [26/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const ComplexMatrix b,
octave_idx_type info 
) const

Definition at line 1973 of file CMatrix.cc.

References solve().

◆ solve() [27/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const ComplexMatrix b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 1981 of file CMatrix.cc.

References solve().

◆ solve() [28/32]

◆ solve() [29/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const Matrix b 
) const

Definition at line 1931 of file CMatrix.cc.

Referenced by Matrix::solve(), solve(), xdiv(), and xleftdiv().

◆ solve() [30/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const Matrix b,
octave_idx_type info 
) const

Definition at line 1939 of file CMatrix.cc.

References solve().

◆ solve() [31/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const Matrix b,
octave_idx_type info,
double &  rcon 
) const

Definition at line 1947 of file CMatrix.cc.

References solve().

◆ solve() [32/32]

ComplexMatrix ComplexMatrix::solve ( MatrixType mattype,
const Matrix b,
octave_idx_type info,
double &  rcon,
solve_singularity_handler  sing_handler,
bool  singular_fallback = true,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 1954 of file CMatrix.cc.

References solve().

◆ sort() [1/6]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::sort ( Array< octave_idx_type > &  sidx,
int  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1895 of file Array-base.cc.

References DESCENDING, Array< T, Alloc >::fortran_vec(), m, dim_vector::numel(), OCTAVE_LOCAL_BUFFER, octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.

◆ sort() [2/6]

OCTINTERP_API Array< octave::cdef_object > Array< octave::cdef_object >::sort ( Array< octave_idx_type > &  sidx,
int  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ sort() [3/6]

OCTAVE_API Array< octave::idx_vector > Array< octave::idx_vector >::sort ( Array< octave_idx_type > &  sidx,
int  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ sort() [4/6]

template<typename T , typename Alloc >
Array< T, Alloc > Array< T, Alloc >::sort ( int  dim = 0,
sortmode  mode = ASCENDING 
) const
inherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 1783 of file Array-base.cc.

References DESCENDING, m, dim_vector::ndims(), dim_vector::numel(), OCTAVE_LOCAL_BUFFER, dim_vector::resize(), octave_sort< T >::set_compare(), octave_sort< T >::sort(), and UNSORTED.

Referenced by qr< T >::delete_col(), do_gsvd(), qr< T >::insert_col(), octave_cell::sort(), and ov_range< T >::sort().

◆ sort() [5/6]

OCTINTERP_API Array< octave::cdef_object > Array< octave::cdef_object >::sort ( int  ,
sortmode   
) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ sort() [6/6]

OCTAVE_API Array< octave::idx_vector > Array< octave::idx_vector >::sort ( int  ,
sortmode   
) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ sort_rows_idx() [1/3]

template<typename T , typename Alloc >
Array< octave_idx_type > Array< T, Alloc >::sort_rows_idx ( sortmode  mode = ASCENDING) const
inherited

◆ sort_rows_idx() [2/3]

OCTINTERP_API Array< octave_idx_type > Array< octave::cdef_object >::sort_rows_idx ( sortmode  ) const
inherited

Definition at line 52 of file Array-tc.cc.

◆ sort_rows_idx() [3/3]

OCTAVE_API Array< octave_idx_type > Array< octave::idx_vector >::sort_rows_idx ( sortmode  ) const
inherited

Definition at line 43 of file Array-idx-vec.cc.

◆ squeeze()

ComplexNDArray ComplexNDArray::squeeze ( void  ) const
inlineinherited

Definition at line 131 of file CNDArray.h.

References MArray< T >::squeeze().

◆ stack() [1/8]

ComplexMatrix ComplexMatrix::stack ( const ColumnVector a) const

◆ stack() [2/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexColumnVector a) const

◆ stack() [3/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexDiagMatrix a) const

◆ stack() [4/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexMatrix a) const

Definition at line 615 of file CMatrix.cc.

References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().

◆ stack() [5/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexRowVector a) const

◆ stack() [6/8]

ComplexMatrix ComplexMatrix::stack ( const DiagMatrix a) const

◆ stack() [7/8]

ComplexMatrix ComplexMatrix::stack ( const Matrix a) const

Definition at line 555 of file CMatrix.cc.

References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().

◆ stack() [8/8]

ComplexMatrix ComplexMatrix::stack ( const RowVector a) const

◆ sum()

ComplexMatrix ComplexMatrix::sum ( int  dim = -1) const

Definition at line 2812 of file CMatrix.cc.

References ComplexNDArray::sum().

◆ sumsq()

ComplexMatrix ComplexMatrix::sumsq ( int  dim = -1) const

Definition at line 2818 of file CMatrix.cc.

References ComplexNDArray::sumsq().

◆ test()

template<typename T , typename Alloc >
template<typename F , bool zero>
bool Array< T, Alloc >::test ( fcn) const
inlineinherited

Generic any/all test functionality with arbitrary predicate.

Definition at line 916 of file Array.h.

References numel().

◆ test_all() [1/3]

template<typename T , typename Alloc >
bool Array< T, Alloc >::test_all ( bool(&)(const T &)  fcn) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 943 of file Array.h.

◆ test_all() [2/3]

template<typename T , typename Alloc >
bool Array< T, Alloc >::test_all ( bool(&)(T)  fcn) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 940 of file Array.h.

◆ test_all() [3/3]

template<typename T , typename Alloc >
template<typename F >
bool Array< T, Alloc >::test_all ( fcn) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 928 of file Array.h.

Referenced by FloatNDArray::all_elements_are_int_or_inf_or_nan(), FloatNDArray::all_elements_are_zero(), FloatNDArray::all_integers(), FloatNDArray::any_element_is_negative(), FloatNDArray::any_element_is_positive(), FloatNDArray::any_element_not_one_or_zero(), and ov_range< T >::bool_array_value().

◆ test_any() [1/3]

template<typename T , typename Alloc >
bool Array< T, Alloc >::test_any ( bool(&)(const T &)  fcn) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 937 of file Array.h.

◆ test_any() [2/3]

template<typename T , typename Alloc >
bool Array< T, Alloc >::test_any ( bool(&)(T)  fcn) const
inlineinherited

Overloads for function references.

Definition at line 934 of file Array.h.

◆ test_any() [3/3]

template<typename T , typename Alloc >
template<typename F >
bool Array< T, Alloc >::test_any ( fcn) const
inlineinherited

Simpler calls.

Definition at line 924 of file Array.h.

Referenced by ComplexNDArray::too_large_for_float().

◆ tinverse()

ComplexMatrix ComplexMatrix::tinverse ( MatrixType mattype,
octave_idx_type info,
double &  rcon,
bool  force,
bool  calc_cond 
) const
private

◆ too_large_for_float()

bool ComplexNDArray::too_large_for_float ( void  ) const
inherited

Definition at line 340 of file CNDArray.cc.

References Array< T, Alloc >::test_any(), and too_large_for_float().

◆ transpose()

ComplexMatrix ComplexMatrix::transpose ( void  ) const
inline

Definition at line 172 of file CMatrix.h.

References MArray< T >::transpose().

Referenced by oct_unop_transpose(), read_mat_binary_data(), solve(), and xdiv().

◆ utsolve()

◆ xelem() [1/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 544 of file Array.h.

References ra_idx.

◆ xelem() [2/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 548 of file Array.h.

References ra_idx.

◆ xelem() [3/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 530 of file Array.h.

◆ xelem() [4/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 533 of file Array.h.

◆ xelem() [5/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 537 of file Array.h.

◆ xelem() [6/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 540 of file Array.h.

◆ xelem() [7/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API T& Array< T, Alloc >::xelem ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 524 of file Array.h.

References n.

Referenced by ComplexMatrix(), ComplexNDArray::ComplexNDArray(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), idx_vector::idx_vector_rep::idx_vector_rep(), intNDArray< T >::abs(), SparseBoolMatrix::any(), octave_value_list::array_value(), DiagArray2< T >::array_value(), range< T, typename std::enable_if< std::is_floating_point< T >::value >::type >::array_value(), Sparse< T, Alloc >::array_value(), idx_vector::idx_range_rep::as_array(), idx_vector::idx_mask_rep::as_array(), as_bool_nd_array(), as_nd_array(), type_info::assign_ops_map(), type_info::assignany_ops_map(), type_info::binary_ops_map(), Cell::cellstr_value(), octave_char_matrix_str::cellstr_value(), chol2inv_internal(), Cell::column(), column_norms(), type_info::compound_binary_ops_map(), DiagArray2< T >::dgxelem(), dmsolve_extract(), do_cellslices_nda(), do_gsvd(), do_mat2cell(), do_mat2cell_2d(), do_mat2cell_nd(), do_num2cell(), do_numeric_lookup(), do_object2cell(), do_rand(), do_rc_map(), Array< T, Alloc >::elem(), elem_xpow(), RowVector::extract(), FloatRowVector::extract(), ColumnVector::extract(), FloatColumnVector::extract(), RowVector::extract_n(), FloatRowVector::extract_n(), ColumnVector::extract_n(), FloatColumnVector::extract_n(), F__event_manager_file_dialog__(), F__event_manager_input_dialog__(), F__event_manager_list_dialog__(), F__native2unicode__(), F__unicode2native__(), Famd(), Faudiowrite(), Fcellindexmat(), Fcellslices(), Fcomplex(), ComplexColumnVector::fill(), fill(), ComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexRowVector::fill(), FloatMatrix::fill(), FloatRowVector::fill(), FloatColumnVector::fill(), cdef_object_array::fill_empty_values(), find_nonzero_elem_idx(), Flookup(), Fordschur(), qr< T >::form(), Fpow2(), Fsize(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fstruct2cell(), lu< T >::getp(), Array< T, Alloc >::hermitian(), hex2num(), imag(), Sparse< T, Alloc >::index(), ComplexColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), FloatComplexMatrix::insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), insert(), ComplexRowVector::insert(), idx_vector::inverse_permutation(), is_handle_visible(), ishghandle(), kron(), linspace(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), map_2_xldexp(), map_2_xlog2(), Range::matrix_value(), type_info::non_const_unary_ops_map(), norm1(), octave_scalar_map::orderfields(), octave_map::orderfields(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::P(), lu< T >::P_vec(), sparse_lu< lu_type >::Pc_vec(), octave_base_diag< DMT, MT >::permute(), sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv(), sparse_lu< lu_type >::Pr_vec(), put_int(), qp(), qs_search(), read_mat_binary_data(), row_norms(), intNDArray< T >::signum(), idx_vector::idx_range_rep::sort_idx(), idx_vector::idx_mask_rep::sort_idx(), SparseBoolMatrix::sum(), Array< T, Alloc >::transpose(), PermMatrix::transpose(), type_info::unary_ops_map(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), Table::updateData(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), DiagArray2< T >::xelem(), and xgemm().

◆ xelem() [8/8]

template<typename T , typename Alloc >
OCTARRAY_OVERRIDABLE_FUNC_API crefT Array< T, Alloc >::xelem ( octave_idx_type  n) const
inlineinherited

Size of the specified dimension.

Dimensions beyond the Array number of dimensions return 1 as those are implicit singleton dimensions.

Equivalent to Octave's 'size (A, DIM)'

Definition at line 526 of file Array.h.

References n.

◆ xsum()

ComplexNDArray ComplexNDArray::xsum ( int  dim = -1) const
inherited

Definition at line 382 of file CNDArray.cc.

References mx_inline_xsum().

Referenced by Fsum().

Friends And Related Function Documentation

◆ conj

OCTAVE_API ComplexMatrix conj ( const ComplexMatrix a)
friend

Definition at line 675 of file CMatrix.cc.

Referenced by conj().

◆ operator<<

OCTAVE_API std::ostream& operator<< ( std::ostream &  os,
const ComplexMatrix a 
)
friend

Definition at line 3187 of file CMatrix.cc.

◆ operator>>

OCTAVE_API std::istream& operator>> ( std::istream &  is,
ComplexMatrix a 
)
friend

Definition at line 3203 of file CMatrix.cc.

Member Data Documentation

◆ m_dimensions

◆ m_rep

template<typename T , typename Alloc >
Array<T, Alloc>::ArrayRep* Array< T, Alloc >::m_rep
protectedinherited

Definition at line 247 of file Array.h.

Referenced by Array< T, Alloc >::Array(), and Array< T, Alloc >::operator=().

◆ m_slice_data

template<typename T , typename Alloc >
T* Array< T, Alloc >::m_slice_data
protectedinherited

Definition at line 256 of file Array.h.

Referenced by Array< T, Alloc >::Array(), and Array< T, Alloc >::operator=().

◆ m_slice_len

template<typename T , typename Alloc >
octave_idx_type Array< T, Alloc >::m_slice_len
protectedinherited

Definition at line 257 of file Array.h.

Referenced by Array< T, Alloc >::operator=().


The documentation for this class was generated from the following files: