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

#include "fCMatrix.h"

Inheritance diagram for FloatComplexMatrix:
Collaboration diagram for FloatComplexMatrix:

Public Types

typedef FloatComplexColumnVector column_vector_type
 
typedef bool(* compare_fcn_type) (typename ref_param< T >::type, typename ref_param< T >::type)
 
typedef FloatComplexDiagMatrix complex_diag_matrix_type
 
typedef FloatComplex complex_elt_type
 
typedef FloatComplexMatrix complex_matrix_type
 
typedef ref_param< T >::type crefT
 
typedef T element_type
 
typedef FloatColumnVector real_column_vector_type
 
typedef FloatDiagMatrix real_diag_matrix_type
 
typedef float real_elt_type
 
typedef FloatMatrix real_matrix_type
 
typedef FloatRowVector real_row_vector_type
 
typedef FloatComplexRowVector 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) (float rcon)
 
typedef T value_type
 

Public Member Functions

template<typename U >
 FloatComplexMatrix (const Array< U > &a)
 
 FloatComplexMatrix (const boolMatrix &a)
 
 FloatComplexMatrix (const charMatrix &a)
 
 FloatComplexMatrix (const DiagArray2< float > &a)
 
 FloatComplexMatrix (const DiagArray2< FloatComplex > &a)
 
 FloatComplexMatrix (const dim_vector &dv)
 
 FloatComplexMatrix (const dim_vector &dv, const FloatComplex &val)
 
 FloatComplexMatrix (const FloatColumnVector &cv)
 
 FloatComplexMatrix (const FloatComplexColumnVector &cv)
 
 FloatComplexMatrix (const FloatComplexDiagMatrix &a)
 
 FloatComplexMatrix (const FloatComplexMatrix &a)=default
 
 FloatComplexMatrix (const FloatComplexRowVector &rv)
 
 FloatComplexMatrix (const FloatDiagMatrix &a)
 
 FloatComplexMatrix (const FloatMatrix &a)
 
 FloatComplexMatrix (const FloatMatrix &re, const FloatMatrix &im)
 
 FloatComplexMatrix (const FloatRowVector &rv)
 
template<typename U >
 FloatComplexMatrix (const MArray< U > &a)
 
 FloatComplexMatrix (const MDiagArray2< float > &a)
 
 FloatComplexMatrix (const MDiagArray2< FloatComplex > &a)
 
 FloatComplexMatrix (octave_idx_type r, octave_idx_type c)
 
 FloatComplexMatrix (octave_idx_type r, octave_idx_type c, const FloatComplex &val)
 
 FloatComplexMatrix (void)=default
 
 ~FloatComplexMatrix (void)=default
 
FloatMatrix abs (void) const
 
boolMatrix all (int dim=-1) const
 
bool all_elements_are_real (void) const
 
bool all_integers (float &max_val, float &min_val) const
 
boolMatrix any (int dim=-1) const
 
bool any_element_is_inf_or_nan (void) const
 
bool any_element_is_nan (void) const
 
FloatComplexMatrix append (const FloatColumnVector &a) const
 
FloatComplexMatrix append (const FloatComplexColumnVector &a) const
 
FloatComplexMatrix append (const FloatComplexDiagMatrix &a) const
 
FloatComplexMatrix append (const FloatComplexMatrix &a) const
 
FloatComplexMatrix append (const FloatComplexRowVector &a) const
 
FloatComplexMatrix append (const FloatDiagMatrix &a) const
 
FloatComplexMatrix append (const FloatMatrix &a) const
 
FloatComplexMatrix append (const FloatRowVector &a) const
 
Array< T > as_column (void) const
 Return the array as a column vector. More...
 
Array< T > as_matrix (void) const
 Return the array as a matrix. More...
 
Array< T > as_row (void) const
 Return the array as a row vector. More...
 
FloatComplexNDArraychangesign (void)
 
void clear (const dim_vector &dv)
 
void clear (octave_idx_type r, octave_idx_type c)
 
void clear (void)
 
FloatComplexColumnVector column (octave_idx_type i) const
 
bool column_is_real_only (octave_idx_type) const
 
FloatComplexRowVector column_max (Array< octave_idx_type > &index) const
 
FloatComplexRowVector column_max (void) const
 
FloatComplexRowVector column_min (Array< octave_idx_type > &index) const
 
FloatComplexRowVector column_min (void) const
 
FloatComplexNDArray concat (const FloatComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
 
FloatComplexNDArray concat (const FloatNDArray &rb, const Array< octave_idx_type > &ra_idx)
 
FloatComplexNDArray cummax (Array< octave_idx_type > &index, int dim=-1) const
 
FloatComplexNDArray cummax (int dim=-1) const
 
FloatComplexNDArray cummin (Array< octave_idx_type > &index, int dim=-1) const
 
FloatComplexNDArray cummin (int dim=-1) const
 
FloatComplexMatrix cumprod (int dim=-1) const
 
FloatComplexMatrix cumsum (int dim=-1) const
 
FloatComplexDET determinant (MatrixType &mattype, octave_idx_type &info, float &rcon, bool calc_cond=true) const
 
FloatComplexDET determinant (octave_idx_type &info) const
 
FloatComplexDET determinant (octave_idx_type &info, float &rcon, bool calc_cond=true) const
 
FloatComplexDET determinant (void) const
 
FloatComplexMatrix diag (octave_idx_type k=0) const
 
FloatComplexDiagMatrix diag (octave_idx_type m, octave_idx_type n) const
 
FloatComplexNDArray diff (octave_idx_type order=1, int dim=-1) const
 
ComplexNDArray dprod (int dim=-1) const
 
ComplexNDArray dsum (int dim=-1) const
 
FloatComplexMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
 
FloatComplexMatrix extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
 
FloatComplexMatrixfill (const FloatComplex &val)
 
FloatComplexMatrixfill (const FloatComplex &val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
void fill (const T &val)
 
FloatComplexMatrixfill (float val)
 
FloatComplexMatrixfill (float val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
Array< octave_idx_typefind (octave_idx_type, bool) const
 
FloatComplexNDArray fourier (int dim=1) const
 
FloatComplexMatrix fourier (void) const
 
FloatComplexMatrix fourier2d (void) const
 
FloatComplexNDArray fourierNd (void) const
 
MArray< FloatComplexhermitian (FloatComplex(*fcn)(const FloatComplex &)=nullptr) const
 
FloatComplexMatrix hermitian (void) const
 
void idx_add (const idx_vector &idx, const MArray< FloatComplex > &vals)
 
void idx_add (const idx_vector &idx, FloatComplex val)
 Performs indexed accumulative addition. More...
 
void idx_add_nd (const idx_vector &idx, const MArray< FloatComplex > &vals, int dim=-1)
 
void idx_max (const idx_vector &idx, const MArray< FloatComplex > &vals)
 
void idx_min (const idx_vector &idx, const MArray< FloatComplex > &vals)
 
FloatComplexNDArray ifourier (int dim=1) const
 
FloatComplexMatrix ifourier (void) const
 
FloatComplexMatrix ifourier2d (void) const
 
FloatComplexNDArray ifourierNd (void) const
 
FloatComplexMatrixinsert (const FloatColumnVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexColumnVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexDiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexNDArrayinsert (const FloatComplexNDArray &a, const Array< octave_idx_type > &ra_idx)
 
FloatComplexNDArrayinsert (const FloatComplexNDArray &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexRowVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatDiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatRowVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexNDArrayinsert (const NDArray &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrix inverse (MatrixType &mattype) const
 
FloatComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info) const
 
FloatComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info, float &rcon, bool force=false, bool calc_cond=true) const
 
FloatComplexMatrix inverse (octave_idx_type &info) const
 
FloatComplexMatrix inverse (octave_idx_type &info, float &rcon, bool force=false, bool calc_cond=true) const
 
FloatComplexMatrix inverse (void) const
 
MArray< FloatComplexipermute (const Array< octave_idx_type > &vec) const
 
sortmode is_sorted_rows (sortmode) const
 
boolNDArray isfinite (void) const
 
bool ishermitian (void) const
 
boolNDArray isinf (void) const
 
boolNDArray isnan (void) const
 
OCTAVE_API sortmode issorted (sortmode mode) const
 
sortmode issorted (sortmode) const
 
Array< octave_idx_typelookup (const Array< idx_vector > &, sortmode) const
 
octave_idx_type lookup (idx_vector const &, sortmode) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
void make_unique (void)
 
FloatComplexNDArray max (Array< octave_idx_type > &index, int dim=-1) const
 
FloatComplexNDArray max (int dim=-1) const
 
FloatComplexNDArray min (Array< octave_idx_type > &index, int dim=-1) const
 
FloatComplexNDArray min (int dim=-1) const
 
octave_idx_type nnz (void) const
 
Array< idx_vectornth_element (const idx_vector &, int) const
 
octave_idx_type numel (void) const
 Number of elements in the array. More...
 
boolMatrix operator! (void) const
 
bool operator!= (const FloatComplexMatrix &a) const
 
FloatComplexMatrixoperator+= (const FloatComplexDiagMatrix &a)
 
FloatComplexMatrixoperator+= (const FloatDiagMatrix &a)
 
FloatComplexMatrixoperator+= (const FloatMatrix &a)
 
FloatComplexMatrixoperator-= (const FloatComplexDiagMatrix &a)
 
FloatComplexMatrixoperator-= (const FloatDiagMatrix &a)
 
FloatComplexMatrixoperator-= (const FloatMatrix &a)
 
FloatComplexMatrixoperator= (const FloatComplexMatrix &a)=default
 
bool operator== (const FloatComplexMatrix &a) const
 
MArray< FloatComplexpermute (const Array< octave_idx_type > &vec, bool inv=false) const
 
FloatComplexMatrix prod (int dim=-1) const
 
FloatComplexMatrix pseudo_inverse (float tol=0.0) const
 
float rcond (MatrixType &mattype) const
 
float rcond (void) const
 
MArray< FloatComplexreshape (const dim_vector &new_dims) const
 
void resize (octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv=FloatComplex(0))
 
FloatComplexRowVector row (octave_idx_type i) const
 
bool row_is_real_only (octave_idx_type) const
 
FloatComplexColumnVector row_max (Array< octave_idx_type > &index) const
 
FloatComplexColumnVector row_max (void) const
 
FloatComplexColumnVector row_min (Array< octave_idx_type > &index) const
 
FloatComplexColumnVector row_min (void) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (const FloatMatrix &b) const
 
FloatComplexMatrix solve (const FloatMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (const FloatMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const
 
Array< idx_vectorsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
Array< idx_vectorsort (int, sortmode) const
 
Array< octave_idx_typesort_rows_idx (sortmode) const
 
FloatComplexNDArray squeeze (void) const
 
FloatComplexMatrix stack (const FloatColumnVector &a) const
 
FloatComplexMatrix stack (const FloatComplexColumnVector &a) const
 
FloatComplexMatrix stack (const FloatComplexDiagMatrix &a) const
 
FloatComplexMatrix stack (const FloatComplexMatrix &a) const
 
FloatComplexMatrix stack (const FloatComplexRowVector &a) const
 
FloatComplexMatrix stack (const FloatDiagMatrix &a) const
 
FloatComplexMatrix stack (const FloatMatrix &a) const
 
FloatComplexMatrix stack (const FloatRowVector &a) const
 
FloatComplexMatrix sum (int dim=-1) const
 
FloatComplexMatrix sumsq (int dim=-1) const
 
bool too_large_for_float (void) const
 
FloatComplexMatrix transpose (void) const
 
First dimension

Get the first dimension of the array (number of rows)

octave_idx_type dim1 (void) const
 
octave_idx_type rows (void) const
 
Second dimension

Get the second dimension of the array (number of columns)

octave_idx_type dim2 (void) const
 
octave_idx_type cols (void) const
 
octave_idx_type columns (void) const
 

Static Public Member Functions

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

Protected Attributes

dim_vector dimensions
 
Array< T >::ArrayReprep
 
T * slice_data
 
octave_idx_type slice_len
 

Private Member Functions

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

Static Private Member Functions

static Array< T >::ArrayRepnil_rep (void)
 

Friends

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

Third dimension

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

Array< T > & insert (const Array< T > &a, const Array< octave_idx_type > &idx)
 Insert an array into another at a specified position. More...
 
Array< T > & insert (const Array< T > &a, octave_idx_type r, octave_idx_type c)
 This is just a special case for idx = [r c 0 ...]. More...
 
octave_idx_type compute_index (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
octave_idx_type compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
Array< T > reshape (octave_idx_type nr, octave_idx_type nc) const
 Size of the specified dimension. More...
 
Array< T > hermitian (T(*fcn)(const T &)=nullptr) const
 Size of the specified dimension. More...
 
octave_idx_type dim3 (void) const
 Size of the specified dimension. More...
 
octave_idx_type pages (void) const
 Size of the specified dimension. More...
 
size_type size (const size_type d) const
 Size of the specified dimension. More...
 
size_t byte_size (void) const
 Size of the specified dimension. More...
 
const dim_vectordims (void) const
 Return a const-reference so that dims ()(i) works efficiently. More...
 
octave_idx_type compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
T & xelem (octave_idx_type n)
 Size of the specified dimension. More...
 
crefT xelem (octave_idx_type n) const
 Size of the specified dimension. More...
 
T & xelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
crefT xelem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
T & xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
crefT xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
T & xelem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
crefT xelem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
T & checkelem (octave_idx_type n)
 Size of the specified dimension. More...
 
T & checkelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
T & checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
T & checkelem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
crefT checkelem (octave_idx_type n) const
 Size of the specified dimension. More...
 
crefT checkelem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
crefT checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
crefT checkelem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
T & elem (octave_idx_type n)
 Size of the specified dimension. More...
 
T & elem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
T & elem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
T & elem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
crefT elem (octave_idx_type n) const
 Size of the specified dimension. More...
 
crefT elem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
crefT elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
crefT elem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
T & operator() (octave_idx_type n)
 Size of the specified dimension. More...
 
T & operator() (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
T & operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
T & operator() (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
crefT operator() (octave_idx_type n) const
 Size of the specified dimension. More...
 
crefT operator() (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
crefT operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
crefT operator() (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
Array< T > page (octave_idx_type k) const
 Extract page: A(:,:,k+1). More...
 
Array< T > linear_slice (octave_idx_type lo, octave_idx_type up) const
 Extract a slice from this array as a column vector: A(:)(lo+1:up). More...
 
bool issquare (void) const
 Size of the specified dimension. More...
 
bool isempty (void) const
 Size of the specified dimension. More...
 
bool isvector (void) const
 Size of the specified dimension. More...
 
bool is_nd_vector (void) const
 Size of the specified dimension. More...
 
const T * data (void) const
 Size of the specified dimension. More...
 
const T * fortran_vec (void) const
 Size of the specified dimension. More...
 
T * fortran_vec (void)
 Size of the specified dimension. More...
 
bool is_shared (void)
 Size of the specified dimension. More...
 
int ndims (void) const
 Size of the specified dimension. More...
 
Array< T > index (const idx_vector &i) const
 Indexing without resizing. More...
 
Array< T > index (const idx_vector &i, const idx_vector &j) const
 Size of the specified dimension. More...
 
Array< T > index (const Array< idx_vector > &ia) const
 Size of the specified dimension. More...
 
Array< T > index (const idx_vector &i, bool resize_ok, const T &rfv) const
 Indexing with possible resizing and fill. More...
 
Array< T > index (const idx_vector &i, bool resize_ok) const
 Size of the specified dimension. More...
 
Array< T > index (const idx_vector &i, const idx_vector &j, bool resize_ok, const T &rfv) const
 Size of the specified dimension. More...
 
Array< T > index (const idx_vector &i, const idx_vector &j, bool resize_ok) const
 Size of the specified dimension. More...
 
Array< T > index (const Array< idx_vector > &ia, bool resize_ok, const T &rfv) const
 Size of the specified dimension. More...
 
Array< T > index (const Array< idx_vector > &ia, bool resize_ok) const
 Size of the specified dimension. More...
 
virtual T resize_fill_value (void) const
 Size of the specified dimension. More...
 
void resize2 (octave_idx_type nr, octave_idx_type nc, const T &rfv)
 Resizing (with fill). More...
 
void resize2 (octave_idx_type nr, octave_idx_type nc)
 Size of the specified dimension. More...
 
void resize1 (octave_idx_type n, const T &rfv)
 Size of the specified dimension. More...
 
void resize1 (octave_idx_type n)
 Size of the specified dimension. More...
 
void resize (const dim_vector &dv, const T &rfv)
 Size of the specified dimension. More...
 
void resize (const dim_vector &dv)
 Size of the specified dimension. More...
 
void assign (const idx_vector &i, const Array< T > &rhs, const T &rfv)
 Indexed assignment (always with resize & fill). More...
 
void assign (const idx_vector &i, const Array< T > &rhs)
 Size of the specified dimension. More...
 
void assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs, const T &rfv)
 Size of the specified dimension. More...
 
void assign (const idx_vector &i, const idx_vector &j, const Array< T > &rhs)
 Size of the specified dimension. More...
 
void assign (const Array< idx_vector > &ia, const Array< T > &rhs, const T &rfv)
 Size of the specified dimension. More...
 
void assign (const Array< idx_vector > &ia, const Array< T > &rhs)
 Size of the specified dimension. More...
 
void delete_elements (const idx_vector &i)
 Deleting elements. More...
 
void delete_elements (int dim, const idx_vector &i)
 A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More...
 
void delete_elements (const Array< idx_vector > &ia)
 Dispatcher to the above two. More...
 
void maybe_economize (void)
 Size of the specified dimension. More...
 
void print_info (std::ostream &os, const std::string &prefix) const
 Size of the specified dimension. More...
 
void * mex_get_data (void) const
 Give a pointer to the data in mex format. More...
 
Array< T > sort (int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
Array< T > sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
sortmode issorted (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 Sort by rows returns only indices. More...
 
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
octave_idx_type lookup (const T &value, sortmode mode=UNSORTED) const
 Do a binary lookup in a sorted array. More...
 
Array< octave_idx_typelookup (const Array< T > &values, sortmode mode=UNSORTED) const
 Ditto, but for an array of values, specializing on the case when values are sorted. More...
 
octave_idx_type nnz (void) const
 Count nonzero elements. More...
 
Array< octave_idx_typefind (octave_idx_type n=-1, bool backward=false) const
 Find indices of (at most n) nonzero elements. More...
 
Array< T > nth_element (const 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 >
Array< U > map (F fcn) const
 Apply function fcn to each element of the Array<T>. More...
 
template<typename U >
Array< U > map (U(&fcn)(T)) const
 Overloads for function references. More...
 
template<typename U >
Array< U > map (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...
 
bool optimize_dimensions (const dim_vector &dv)
 Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv. More...
 
int jit_ref_count (void)
 WARNING: Only call these functions from jit. More...
 
T * jit_slice_data (void) const
 Size of the specified dimension. More...
 
octave_idx_typejit_dimensions (void) const
 Size of the specified dimension. More...
 
void * jit_array_rep (void) const
 Size of the specified dimension. More...
 
static Array< T > cat (int dim, octave_idx_type n, const Array< T > *array_list)
 Concatenation along a specified (0-based) dimension, equivalent to cat(). More...
 
static void instantiation_guard ()
 Size of the specified dimension. More...
 

Detailed Description

Definition at line 40 of file fCMatrix.h.

Member Typedef Documentation

◆ column_vector_type

◆ compare_fcn_type

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

Definition at line 212 of file Array.h.

◆ complex_diag_matrix_type

◆ complex_elt_type

Definition at line 59 of file fCMatrix.h.

◆ complex_matrix_type

◆ crefT

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

Definition at line 210 of file Array.h.

◆ element_type

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

Definition at line 202 of file Array.h.

◆ real_column_vector_type

◆ real_diag_matrix_type

◆ real_elt_type

Definition at line 58 of file fCMatrix.h.

◆ real_matrix_type

Definition at line 52 of file fCMatrix.h.

◆ real_row_vector_type

◆ row_vector_type

◆ size_type

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

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

Definition at line 208 of file Array.h.

◆ solve_singularity_handler

typedef void(* FloatComplexMatrix::solve_singularity_handler) (float rcon)

Definition at line 61 of file fCMatrix.h.

◆ value_type

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

Definition at line 204 of file Array.h.

Constructor & Destructor Documentation

◆ FloatComplexMatrix() [1/22]

FloatComplexMatrix::FloatComplexMatrix ( void  )
default

◆ FloatComplexMatrix() [2/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexMatrix a)
default

◆ ~FloatComplexMatrix()

FloatComplexMatrix::~FloatComplexMatrix ( void  )
default

◆ FloatComplexMatrix() [3/22]

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

Definition at line 71 of file fCMatrix.h.

◆ FloatComplexMatrix() [4/22]

FloatComplexMatrix::FloatComplexMatrix ( octave_idx_type  r,
octave_idx_type  c,
const FloatComplex val 
)
inline

Definition at line 74 of file fCMatrix.h.

◆ FloatComplexMatrix() [5/22]

FloatComplexMatrix::FloatComplexMatrix ( const dim_vector dv)
inline

Definition at line 78 of file fCMatrix.h.

◆ FloatComplexMatrix() [6/22]

FloatComplexMatrix::FloatComplexMatrix ( const dim_vector dv,
const FloatComplex val 
)
inline

Definition at line 81 of file fCMatrix.h.

◆ FloatComplexMatrix() [7/22]

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

Definition at line 85 of file fCMatrix.h.

◆ FloatComplexMatrix() [8/22]

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

Definition at line 89 of file fCMatrix.h.

◆ FloatComplexMatrix() [9/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatMatrix a)
explicit

Definition at line 69 of file fCMatrix.cc.

◆ FloatComplexMatrix() [10/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatRowVector rv)
explicit

Definition at line 73 of file fCMatrix.cc.

◆ FloatComplexMatrix() [11/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatColumnVector cv)
explicit

Definition at line 77 of file fCMatrix.cc.

◆ FloatComplexMatrix() [12/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatDiagMatrix a)
explicit

◆ FloatComplexMatrix() [13/22]

FloatComplexMatrix::FloatComplexMatrix ( const MDiagArray2< float > &  a)
explicit

◆ FloatComplexMatrix() [14/22]

FloatComplexMatrix::FloatComplexMatrix ( const DiagArray2< float > &  a)
explicit

◆ FloatComplexMatrix() [15/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexRowVector rv)
explicit

Definition at line 102 of file fCMatrix.cc.

◆ FloatComplexMatrix() [16/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexColumnVector cv)
explicit

Definition at line 106 of file fCMatrix.cc.

◆ FloatComplexMatrix() [17/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexDiagMatrix a)
explicit

◆ FloatComplexMatrix() [18/22]

FloatComplexMatrix::FloatComplexMatrix ( const MDiagArray2< FloatComplex > &  a)
explicit

◆ FloatComplexMatrix() [19/22]

FloatComplexMatrix::FloatComplexMatrix ( const DiagArray2< FloatComplex > &  a)
explicit

◆ FloatComplexMatrix() [20/22]

FloatComplexMatrix::FloatComplexMatrix ( const boolMatrix a)
explicit

Definition at line 134 of file fCMatrix.cc.

◆ FloatComplexMatrix() [21/22]

FloatComplexMatrix::FloatComplexMatrix ( const charMatrix a)
explicit

Definition at line 138 of file fCMatrix.cc.

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

◆ FloatComplexMatrix() [22/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatMatrix re,
const FloatMatrix im 
)

Member Function Documentation

◆ abs()

FloatMatrix FloatComplexMatrix::abs ( void  ) const

Definition at line 2828 of file fCMatrix.cc.

References FloatComplexNDArray::abs().

Referenced by norm1().

◆ all()

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

Definition at line 2787 of file fCMatrix.cc.

References FloatComplexNDArray::all().

◆ all_elements_are_real()

bool FloatComplexNDArray::all_elements_are_real ( void  ) const
inherited

◆ all_integers()

bool FloatComplexNDArray::all_integers ( float &  max_val,
float &  min_val 
) const
inherited

Definition at line 289 of file fCNDArray.cc.

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

◆ any()

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

Definition at line 2793 of file fCMatrix.cc.

References FloatComplexNDArray::any().

◆ any_element_is_inf_or_nan()

bool FloatComplexNDArray::any_element_is_inf_or_nan ( void  ) const
inherited

Definition at line 271 of file fCNDArray.cc.

References mx_inline_all_finite().

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

◆ any_element_is_nan()

bool FloatComplexNDArray::any_element_is_nan ( void  ) const
inherited

◆ append() [1/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatColumnVector a) const

◆ append() [2/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexColumnVector a) const

◆ append() [3/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexDiagMatrix a) const

◆ append() [4/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexMatrix a) const

Definition at line 498 of file fCMatrix.cc.

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

◆ append() [5/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexRowVector a) const

◆ append() [6/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatDiagMatrix a) const

◆ append() [7/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatMatrix a) const

Definition at line 438 of file fCMatrix.cc.

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

◆ append() [8/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatRowVector a) const

◆ as_column()

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

Return the array as a column vector.

Definition at line 381 of file Array.h.

References Array< T >::dimensions, dim_vector::ndims(), numel(), and retval.

◆ as_matrix()

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

Return the array as a matrix.

Definition at line 401 of file Array.h.

References Array< T >::dimensions, dim_vector::ndims(), dim_vector::redim(), and retval.

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

◆ as_row()

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

Return the array as a row vector.

Definition at line 391 of file Array.h.

References Array< T >::dimensions, dim_vector::ndims(), numel(), and retval.

◆ assign() [1/6]

template<typename T >
void Array< T >::assign ( const Array< idx_vector > &  ia,
const Array< T > &  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 661 of file Array.h.

◆ assign() [2/6]

template<typename T >
void Array< T >::assign ( const Array< idx_vector > &  ia,
const Array< T > &  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 1267 of file Array.cc.

References dim_vector::alloc(), rec_index_helper::assign(), dim_vector::chop_all_singletons(), dim_vector::chop_trailing_singletons(), Array< T >::data(), Array< T >::dims(), octave::err_nonconformant(), rec_index_helper::fill(), dim_vector::ndims(), Array< T >::numel(), dim_vector::redim(), Array< T >::reshape(), dim_vector::zero_by_zero(), and zero_dims_inquire().

◆ assign() [3/6]

template<typename T >
void Array< T >::assign ( const idx_vector i,
const Array< T > &  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 648 of file Array.h.

◆ assign() [4/6]

◆ assign() [5/6]

template<typename T >
void Array< T >::assign ( const idx_vector i,
const idx_vector j,
const Array< T > &  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 655 of file Array.h.

◆ assign() [6/6]

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

◆ byte_size()

template<typename T >
size_t Array< T >::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 449 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 >
Array< T > Array< T >::cat ( int  dim,
octave_idx_type  n,
const Array< T > *  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 2630 of file Array.cc.

References Array< T >::assign(), idx_vector::colon, dim_vector::concat(), Array< T >::dims(), dim_vector::hvcat(), Array< T >::isempty(), max(), n, dim_vector::ndims(), retval, and dim_vector::zero_by_zero().

Referenced by single_type_concat().

◆ changesign()

FloatComplexNDArray& FloatComplexNDArray::changesign ( void  )
inlineinherited

Definition at line 154 of file fCNDArray.h.

References MArray< T >::changesign().

◆ checkelem() [1/8]

template<typename T >
T & Array< T >::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 219 of file Array.cc.

References compute_index(), elem, and ra_idx.

◆ checkelem() [2/8]

template<typename T >
Array< T >::crefT Array< T >::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 254 of file Array.cc.

References compute_index(), elem, and ra_idx.

◆ checkelem() [3/8]

template<typename T >
T & Array< T >::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 205 of file Array.cc.

References compute_index(), and elem.

◆ checkelem() [4/8]

template<typename T >
Array< T >::crefT Array< T >::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 239 of file Array.cc.

References compute_index(), and elem.

◆ checkelem() [5/8]

template<typename T >
T & Array< T >::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 212 of file Array.cc.

References compute_index(), and elem.

◆ checkelem() [6/8]

template<typename T >
Array< T >::crefT Array< T >::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 246 of file Array.cc.

References compute_index(), and elem.

◆ checkelem() [7/8]

◆ checkelem() [8/8]

template<typename T >
Array< T >::crefT Array< T >::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 226 of file Array.cc.

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

◆ clear() [1/3]

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

Definition at line 102 of file Array.cc.

References dim_vector::chop_trailing_singletons(), and dim_vector::safe_numel().

◆ clear() [2/3]

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

Definition at line 373 of file Array.h.

References r.

◆ clear() [3/3]

◆ cols()

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

Definition at line 423 of file Array.h.

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

◆ column()

FloatComplexColumnVector FloatComplexMatrix::column ( octave_idx_type  i) const

◆ column_is_real_only()

bool FloatComplexMatrix::column_is_real_only ( octave_idx_type  j) const

Definition at line 2875 of file fCMatrix.cc.

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

Referenced by column_max(), and column_min().

◆ column_max() [1/2]

◆ column_max() [2/2]

FloatComplexRowVector FloatComplexMatrix::column_max ( void  ) const

Definition at line 3119 of file fCMatrix.cc.

◆ column_min() [1/2]

◆ column_min() [2/2]

FloatComplexRowVector FloatComplexMatrix::column_min ( void  ) const

Definition at line 3044 of file fCMatrix.cc.

◆ columns()

◆ compute_index() [1/4]

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

Definition at line 592 of file fCNDArray.cc.

References compute_index(), Array< T >::dimensions, and ra_idx.

◆ compute_index() [2/4]

template<typename T >
octave_idx_type Array< T >::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 185 of file Array.cc.

References compute_index(), and ra_idx.

◆ compute_index() [3/4]

template<typename T >
octave_idx_type Array< T >::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 170 of file Array.cc.

References compute_index().

◆ compute_index() [4/4]

template<typename T >
octave_idx_type Array< T >::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 177 of file Array.cc.

References compute_index().

◆ compute_index_unchecked()

template<typename T >
octave_idx_type Array< T >::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 463 of file Array.h.

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

◆ concat() [1/2]

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

Definition at line 408 of file fCNDArray.cc.

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

◆ concat() [2/2]

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

Definition at line 417 of file fCNDArray.cc.

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

◆ cummax() [1/2]

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

Definition at line 470 of file fCNDArray.cc.

References mx_inline_cummax().

◆ cummax() [2/2]

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

Definition at line 464 of file fCNDArray.cc.

References mx_inline_cummax().

◆ cummin() [1/2]

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

Definition at line 483 of file fCNDArray.cc.

References mx_inline_cummin().

◆ cummin() [2/2]

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

Definition at line 477 of file fCNDArray.cc.

References mx_inline_cummin().

◆ cumprod()

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

Definition at line 2799 of file fCMatrix.cc.

References FloatComplexNDArray::cumprod().

◆ cumsum()

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

Definition at line 2805 of file fCMatrix.cc.

References FloatComplexNDArray::cumsum().

◆ data()

template<typename T >
const T* Array< T >::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 581 of file Array.h.

Referenced by Cell::Cell(), idx_vector::idx_mask_rep::idx_mask_rep(), SparseComplexMatrix::abs(), SparseMatrix::abs(), SparseBoolMatrix::any(), 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(), octave_matrix::as_mxArray(), octave_struct::as_mxArray(), octave_scalar_struct::as_mxArray(), Array< T >::assign(), binmap(), blkmm_internal(), MArray< double >::changesign(), convert_cdata(), DiagArray2< T >::data(), SparseComplexMatrix::dinverse(), SparseMatrix::dinverse(), octave::ft_manager::do_get_font(), do_merge(), do_mm_binary_op(), do_mx_check(), do_sm_binary_op(), octave::opengl_selector::draw_image(), octave::opengl_renderer::draw_marker(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), F__native2unicode__(), F__pchip_deriv__(), F__unicode2native__(), octave::opengl_selector::fake_text(), Fbase64_encode(), Fdot(), Fellipj(), filter(), Fordschur(), ComplexMatrix::fourier(), fourier(), ComplexMatrix::fourier2d(), fourier2d(), Funicode_idx(), mxArray_octave_value::get_string(), MArray< T >::idx_add(), MArray< T >::idx_add_nd(), ComplexMatrix::ifourier(), ifourier(), ComplexMatrix::ifourier2d(), ifourier2d(), Sparse< T >::index(), octave_char_matrix::index_vector(), qr< T >::insert_col(), kron(), Array< T >::lookup(), octinternal_do_mul_pm_sm(), octinternal_do_mul_sm_pm(), operator*(), ComplexColumnVector::operator+=(), FloatComplexColumnVector::operator+=(), operator+=(), FloatComplexRowVector::operator+=(), ComplexMatrix::operator+=(), ComplexRowVector::operator+=(), operator-(), ComplexColumnVector::operator-=(), FloatComplexColumnVector::operator-=(), operator-=(), FloatComplexRowVector::operator-=(), ComplexMatrix::operator-=(), ComplexRowVector::operator-=(), boolMatrix::operator==(), charMatrix::operator==(), ColumnVector::operator==(), ComplexColumnVector::operator==(), ComplexMatrix::operator==(), ComplexRowVector::operator==(), FloatColumnVector::operator==(), FloatComplexColumnVector::operator==(), operator==(), FloatComplexRowVector::operator==(), FloatMatrix::operator==(), FloatRowVector::operator==(), Matrix::operator==(), RowVector::operator==(), qs_preprocess(), qs_replace(), qs_search(), octave::opengl_renderer::render_text(), octave_perm_matrix::save_binary(), save_mat5_binary_element(), octave::opengl_renderer::set_clipbox(), octave::opengl_renderer::set_color(), octave::rand::set_internal_state(), octave::opengl_renderer::setup_opengl_transformation(), stack_complex_matrix(), SparseComplexMatrix::tinverse(), SparseMatrix::tinverse(), unstack_complex_matrix(), lu< T >::update_piv(), octave::opengl_renderer::patch_tessellator::vertex(), octave::stream::write(), and xgemm().

◆ delete_elements() [1/3]

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

Dispatcher to the above two.

Definition at line 1486 of file Array.cc.

References Array< T >::numel().

◆ delete_elements() [2/3]

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

◆ delete_elements() [3/3]

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

◆ determinant() [1/4]

◆ determinant() [2/4]

FloatComplexDET FloatComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1156 of file fCMatrix.cc.

References determinant().

◆ determinant() [3/4]

FloatComplexDET FloatComplexMatrix::determinant ( octave_idx_type info,
float &  rcon,
bool  calc_cond = true 
) const

Definition at line 1163 of file fCMatrix.cc.

References determinant().

◆ determinant() [4/4]

FloatComplexDET FloatComplexMatrix::determinant ( void  ) const

Definition at line 1148 of file fCMatrix.cc.

Referenced by determinant().

◆ diag() [1/2]

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

Definition at line 2834 of file fCMatrix.cc.

References FloatComplexNDArray::diag().

Referenced by octave_float_complex_matrix::diag().

◆ diag() [2/2]

FloatComplexDiagMatrix FloatComplexMatrix::diag ( octave_idx_type  m,
octave_idx_type  n 
) const

◆ diff()

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

Definition at line 402 of file fCNDArray.cc.

References mx_inline_diff().

Referenced by do_diff().

◆ dim1()

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

Definition at line 414 of file Array.h.

Referenced by Array< T >::assign(), PermMatrix::numel(), and PermMatrix::rows().

◆ dim2()

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

◆ dim3()

template<typename T >
octave_idx_type Array< T >::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 431 of file Array.h.

Referenced by octave::ft_text_renderer::process_character(), and octave::ft_text_renderer::render().

◆ dims()

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

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

Definition at line 453 of file Array.h.

Referenced by idx_vector::idx_mask_rep::idx_mask_rep(), idx_vector::idx_vector_rep::idx_vector_rep(), NDArray::NDArray(), octave::math::airy(), Array< T >::assign(), octave_map::assign(), binmap(), octave::math::biry(), bitopxx(), Array< T >::cat(), FloatNDArray::concat(), charNDArray::concat(), conv_to_int_array(), convolve(), octave_map::delete_elements(), octave::math::do_bessel(), do_bitpack(), do_bsxfun_op(), octave_map::do_cat(), do_merge(), do_mm_binary_op(), do_numeric_lookup(), do_rand(), do_rc_map(), octave::do_simple_cellfun(), do_sm_binary_op(), do_strcmp_fun(), do_tril(), do_triu(), octave::opengl_renderer::draw_surface(), octave_char_matrix_str::edit_display(), elem_xpow(), encode_bool_image(), Fcell2struct(), Fcomplex(), Fellipj(), filter(), find_nonzero_elem_idx(), Fis_same_file(), Fisa(), Fisargout(), Fisfield(), Flookup(), ComplexNDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), ComplexNDArray::fourier2d(), FloatComplexNDArray::fourier2d(), FloatNDArray::fourier2d(), ComplexNDArray::fourierNd(), FloatComplexNDArray::fourierNd(), FloatNDArray::fourierNd(), Fregexprep(), Frepelems(), Fstr2double(), Fstrfind(), Fstrrep(), Fstruct(), Funicode_idx(), 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 >::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), is_handle_visible(), ishghandle(), Array< T >::lookup(), octave_float_matrix::map(), octave_matrix::map(), octave::cdef_object::map_value(), 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(), try_cellfun_internal_ops(), and x_el_div().

◆ dprod()

ComplexNDArray FloatComplexNDArray::dprod ( int  dim = -1) const
inherited

Definition at line 378 of file fCNDArray.cc.

References mx_inline_dprod().

Referenced by Fprod().

◆ dsum()

ComplexNDArray FloatComplexNDArray::dsum ( int  dim = -1) const
inherited

Definition at line 390 of file fCNDArray.cc.

References mx_inline_dsum().

Referenced by Fsum().

◆ elem() [1/8]

template<typename T >
T& Array< T >::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 510 of file Array.h.

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

◆ elem() [2/8]

template<typename T >
crefT Array< T >::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 537 of file Array.h.

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

◆ elem() [3/8]

template<typename T >
T& Array< T >::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 505 of file Array.h.

References Array< T >::elem().

Referenced by Array< T >::elem().

◆ elem() [4/8]

template<typename T >
crefT Array< T >::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 531 of file Array.h.

◆ elem() [5/8]

template<typename T >
T& Array< T >::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 507 of file Array.h.

References elem.

◆ elem() [6/8]

template<typename T >
crefT Array< T >::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 534 of file Array.h.

◆ elem() [7/8]

template<typename T >
T& Array< T >::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 499 of file Array.h.

References n.

Referenced by ComplexMatrix::ComplexMatrix(), FloatComplexMatrix(), FloatMatrix::FloatMatrix(), Matrix::Matrix(), Sparse< T >::Sparse(), ComplexNDArray::all_integers(), FloatComplexNDArray::all_integers(), FloatNDArray::all_integers(), aepbalance< T >::balancing_matrix(), octave_complex_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_float_matrix::char_array_value(), octave_range::char_array_value(), octave_matrix::char_array_value(), ComplexDiagMatrix::column(), DiagMatrix::column(), FloatComplexDiagMatrix::column(), FloatDiagMatrix::column(), ComplexMatrix::column_is_real_only(), column_is_real_only(), ComplexMatrix::column_max(), Matrix::column_max(), column_max(), FloatMatrix::column_max(), ComplexMatrix::column_min(), Matrix::column_min(), 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(), ComplexMatrix::determinant(), determinant(), FloatMatrix::determinant(), DiagArray2< T >::dgelem(), LSODE::do_integrate(), Array< T >::elem(), DiagArray2< T >::elem(), 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(), F__player_play__(), F__player_playblocking__(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), DiagMatrix::fill(), qr< T >::form(), SparseComplexMatrix::fsolve(), Fsymrcm(), text::properties::get___fontsize_points__(), Givens(), FloatEIG::init(), EIG::init(), ComplexColumnVector::insert(), ColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), ComplexRowVector::insert(), RowVector::insert(), Matrix::insert(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), FloatComplexDiagMatrix::inverse(), FloatDiagMatrix::inverse(), ComplexMatrix::ishermitian(), FloatMatrix::issymmetric(), octave_bool_matrix::load_ascii(), octave_cell::load_ascii(), octave_cell::load_binary(), octave_bool_matrix::load_hdf5(), lsode_f(), ComplexMatrix::lssolve(), lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ltsolve(), 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!(), PermMatrix::operator()(), operator*(), ComplexMatrix::operator+=(), operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), operator-=(), FloatMatrix::operator-=(), operator<<(), operator>>(), octave::bp_table::parse_dbfunction_params(), ComplexDiagMatrix::pseudo_inverse(), ComplexMatrix::pseudo_inverse(), DiagMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), pseudo_inverse(), FloatMatrix::pseudo_inverse(), FloatComplexDiagMatrix::pseudo_inverse(), FloatDiagMatrix::pseudo_inverse(), read_mat_ascii_data(), ComplexDiagMatrix::row(), DiagMatrix::row(), FloatComplexDiagMatrix::row(), FloatDiagMatrix::row(), ComplexMatrix::row_is_real_only(), row_is_real_only(), ComplexMatrix::row_max(), Matrix::row_max(), row_max(), FloatMatrix::row_max(), ComplexMatrix::row_min(), Matrix::row_min(), row_min(), FloatMatrix::row_min(), octave_cell::save_ascii(), octave_cell::save_binary(), octave_cell::save_hdf5(), try_cellfun_internal_ops(), text::properties::update_fontunits(), utsolve(), and x_el_div().

◆ elem() [8/8]

template<typename T >
crefT Array< T >::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 529 of file Array.h.

References n.

◆ extract()

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

Definition at line 686 of file fCMatrix.cc.

References Array< T >::index().

Referenced by pseudo_inverse().

◆ extract_n()

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

Definition at line 696 of file fCMatrix.cc.

References Array< T >::index().

◆ fill() [1/5]

FloatComplexMatrix & FloatComplexMatrix::fill ( const FloatComplex val)

◆ fill() [2/5]

FloatComplexMatrix & FloatComplexMatrix::fill ( const FloatComplex val,
octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
)

◆ fill() [3/5]

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

Definition at line 73 of file Array.cc.

References numel().

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

◆ fill() [4/5]

FloatComplexMatrix & FloatComplexMatrix::fill ( float  val)

Definition at line 349 of file fCMatrix.cc.

References Array< T >::cols(), Array< T >::make_unique(), Array< T >::rows(), and Array< T >::xelem().

Referenced by insert().

◆ fill() [5/5]

FloatComplexMatrix & FloatComplexMatrix::fill ( float  val,
octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
)

◆ find() [1/2]

◆ find() [2/2]

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

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

◆ finverse()

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

◆ fortran_vec() [1/2]

template<typename T >
T * Array< T >::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 1740 of file Array.cc.

◆ fortran_vec() [2/2]

template<typename T >
const T* Array< T >::fortran_vec ( 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 583 of file Array.h.

Referenced by lu< T >::lu(), NDArray::NDArray(), octave::math::sparse_lu< lu_type >::sparse_lu(), SparseBoolMatrix::any(), octave_uint64_matrix::array_value(), idx_vector::idx_vector_rep::as_array(), mxArray_number::as_octave_value(), mxArray_struct::as_octave_value(), mxArray_cell::as_octave_value(), Sparse< T >::assign(), aepbalance< T >::balancing_matrix(), octave::base64_decode(), binmap(), blkmm_internal(), octave_uint64_matrix::bool_array_value(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), cam2xform(), octave_uint64_matrix::char_array_value(), octave::chol2inv_internal(), idx_vector::complement(), octave_uint64_matrix::complex_array_value(), octave_uint64_matrix::complex_matrix_value(), convert_cdata(), convolve(), Array< T >::delete_elements(), ComplexMatrix::determinant(), Matrix::determinant(), determinant(), FloatMatrix::determinant(), SparseComplexMatrix::determinant(), SparseMatrix::determinant(), dmsolve_insert(), dmsolve_permute(), do_bitpack(), do_bitunpack(), do_bsxfun_op(), octave::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(), do_merge(), octave::rand::do_nd_array(), do_repelems(), octave::base_stream::do_scanf(), octave::do_scanf_conv(), do_tril(), do_triu(), octave::rand::do_vector(), octave::opengl_renderer::draw_patch(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), encode_bool_image(), encode_indexed_images(), 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 >::find(), find_starting_node(), ComplexMatrix::finverse(), Matrix::finverse(), 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(), Fordschur(), DiagArray2< T >::fortran_vec(), ComplexNDArray::fourier(), NDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), ComplexMatrix::fourier(), Matrix::fourier(), fourier(), FloatMatrix::fourier(), ComplexMatrix::fourier2d(), ComplexNDArray::fourier2d(), Matrix::fourier2d(), NDArray::fourier2d(), fourier2d(), FloatComplexNDArray::fourier2d(), FloatMatrix::fourier2d(), FloatNDArray::fourier2d(), ComplexNDArray::fourierNd(), NDArray::fourierNd(), FloatComplexNDArray::fourierNd(), FloatNDArray::fourierNd(), Fqz(), Frandperm(), ComplexMatrix::fsolve(), fsolve(), FloatMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fsymrcm(), octave::rand::get_internal_state(), octave::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(), ComplexMatrix::ifourier(), Matrix::ifourier(), ifourier(), FloatMatrix::ifourier(), ComplexMatrix::ifourier2d(), ComplexNDArray::ifourier2d(), Matrix::ifourier2d(), NDArray::ifourier2d(), ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatMatrix::ifourier2d(), FloatNDArray::ifourier2d(), ComplexNDArray::ifourierNd(), NDArray::ifourierNd(), FloatComplexNDArray::ifourierNd(), FloatNDArray::ifourierNd(), ilu_crout(), ilu_tp(), img_float2uint(), Range::index(), Array< T >::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(), ComplexDiagMatrix::inverse(), DiagMatrix::inverse(), kron(), octave_char_matrix_str::load_ascii(), octave_char_matrix_str::load_binary(), Array< T >::lookup(), ComplexMatrix::lssolve(), lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::ltsolve(), ltsolve(), FloatMatrix::ltsolve(), Matrix::ltsolve(), LuAminusSigmaB(), Cell::map(), Array< T >::map(), octave_uint64_matrix::matrix_value(), num2hex(), octave::octave_jit_paren_subsasgn_impl(), operator*(), ComplexColumnVector::operator+=(), FloatComplexColumnVector::operator+=(), operator+=(), FloatComplexRowVector::operator+=(), ComplexMatrix::operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator-=(), FloatComplexColumnVector::operator-=(), operator-=(), FloatComplexRowVector::operator-=(), ComplexMatrix::operator-=(), ComplexRowVector::operator-=(), PermMatrix::pos_power(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Q(), qs_replace(), ComplexMatrix::rcond(), Matrix::rcond(), rcond(), FloatMatrix::rcond(), read_indexed_images(), read_mat5_binary_element(), read_mat_binary_data(), reinterpret_copy(), reinterpret_int_copy(), Array< T >::resize(), Array< T >::resize1(), Array< T >::resize2(), octave_char_matrix_str::save_ascii(), log_scaler::scale(), neg_log_scaler::scale(), Array< T >::sort(), string_vector::sort(), idx_vector::idx_vector_rep::sort_idx(), Range::sort_internal(), Array< T >::sort_rows_idx(), sqrtm_utri_inplace(), stack_complex_matrix(), sub2ind(), SparseBoolMatrix::sum(), Sylvester(), FloatEIG::symmetric_init(), EIG::symmetric_init(), ComplexMatrix::tinverse(), Matrix::tinverse(), tinverse(), FloatMatrix::tinverse(), QtHandles::Utils::toRgb(), Array< T >::transpose(), SparseComplexMatrix::trisolve(), SparseMatrix::trisolve(), unstack_complex_matrix(), lu< T >::update(), qr< T >::update(), lu< T >::update_piv(), ComplexMatrix::utsolve(), utsolve(), FloatMatrix::utsolve(), Matrix::utsolve(), viridis_colormap(), and xgemm().

◆ fourier() [1/2]

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

◆ fourier() [2/2]

FloatComplexMatrix FloatComplexMatrix::fourier ( void  ) const

◆ fourier2d()

FloatComplexMatrix FloatComplexMatrix::fourier2d ( void  ) const

◆ fourierNd()

FloatComplexNDArray FloatComplexNDArray::fourierNd ( void  ) const
inherited

◆ fsolve()

◆ hermitian() [1/3]

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

Definition at line 108 of file MArray.h.

◆ hermitian() [2/3]

template<typename T >
Array< T > Array< T >::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 1642 of file Array.cc.

References Array< T >::xelem().

Referenced by MArray< T >::hermitian(), and octave::math::sparse_chol< chol_type >::inverse().

◆ hermitian() [3/3]

FloatComplexMatrix FloatComplexMatrix::hermitian ( void  ) const
inline

Definition at line 173 of file fCMatrix.h.

References conj(), and MArray< T >::hermitian().

Referenced by oct_unop_hermitian(), pseudo_inverse(), solve(), and Sylvester().

◆ idx_add() [1/2]

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

Definition at line 114 of file MArray.cc.

◆ idx_add() [2/2]

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

Performs indexed accumulative addition.

Definition at line 113 of file MArray.cc.

◆ idx_add_nd()

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

Definition at line 121 of file MArray.cc.

◆ idx_max()

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

Definition at line 119 of file MArray.cc.

◆ idx_min()

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

Definition at line 117 of file MArray.cc.

◆ ifourier() [1/2]

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

◆ ifourier() [2/2]

FloatComplexMatrix FloatComplexMatrix::ifourier ( void  ) const

◆ ifourier2d()

FloatComplexMatrix FloatComplexMatrix::ifourier2d ( void  ) const

◆ ifourierNd()

FloatComplexNDArray FloatComplexNDArray::ifourierNd ( void  ) const
inherited

◆ increment_index()

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

Definition at line 584 of file fCNDArray.cc.

References Array< T >::dimensions, and ra_idx.

Referenced by FloatComplexNDArray::insert().

◆ index() [1/9]

template<typename T >
Array< T > Array< T >::index ( const Array< 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 823 of file Array.cc.

References Array< T >::numel(), dim_vector::redim(), and retval.

◆ index() [2/9]

template<typename T >
Array<T> Array< T >::index ( const Array< 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 639 of file Array.h.

◆ index() [3/9]

template<typename T >
Array< T > Array< T >::index ( const Array< 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 1085 of file Array.cc.

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

◆ index() [4/9]

◆ index() [5/9]

template<typename T >
Array<T> Array< T >::index ( const 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 624 of file Array.h.

◆ index() [6/9]

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

Indexing with possible resizing and fill.

Definition at line 1033 of file Array.cc.

References idx_vector::extent(), Array< T >::index(), idx_vector::is_scalar(), n, numel(), Array< T >::numel(), and Array< T >::resize1().

◆ index() [7/9]

template<typename T >
Array< T > Array< T >::index ( const idx_vector i,
const 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 765 of file Array.cc.

References octave::err_index_out_of_range(), idx_vector::extent(), Array< T >::fortran_vec(), idx_vector::index(), idx_vector::is_colon(), idx_vector::is_cont_range(), idx_vector::length(), idx_vector::maybe_reduce(), n, numel(), r, dim_vector::redim(), retval, and idx_vector::xelem().

◆ index() [8/9]

template<typename T >
Array<T> Array< T >::index ( const idx_vector i,
const 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 631 of file Array.h.

◆ index() [9/9]

template<typename T >
Array< T > Array< T >::index ( const idx_vector i,
const 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 1057 of file Array.cc.

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

◆ insert() [1/13]

◆ insert() [2/13]

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

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

Definition at line 1563 of file Array.cc.

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

◆ insert() [3/13]

◆ insert() [4/13]

◆ insert() [5/13]

◆ insert() [6/13]

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

Definition at line 282 of file fCMatrix.cc.

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

◆ insert() [7/13]

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

Definition at line 576 of file fCNDArray.cc.

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

◆ insert() [8/13]

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

Definition at line 568 of file fCNDArray.cc.

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

◆ insert() [9/13]

FloatComplexMatrix & FloatComplexMatrix::insert ( const FloatComplexRowVector a,
octave_idx_type  r,
octave_idx_type  c 
)

◆ insert() [10/13]

◆ insert() [11/13]

FloatComplexMatrix & FloatComplexMatrix::insert ( const FloatMatrix a,
octave_idx_type  r,
octave_idx_type  c 
)

◆ insert() [12/13]

◆ insert() [13/13]

◆ instantiation_guard() [1/15]

void Array< Complex >::instantiation_guard ( )
privateinherited

Definition at line 97 of file Array-C.cc.

◆ instantiation_guard() [2/15]

void Array< float >::instantiation_guard ( )
privateinherited

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

◆ instantiation_guard() [3/15]

void Array< FloatComplex >::instantiation_guard ( )
privateinherited

Definition at line 97 of file Array-fC.cc.

◆ instantiation_guard() [4/15]

void Array< long >::instantiation_guard ( )
privateinherited

Definition at line 53 of file Array-i.cc.

◆ instantiation_guard() [5/15]

void Array< octave_int8 >::instantiation_guard ( )
privateinherited

Definition at line 63 of file Array-i.cc.

◆ instantiation_guard() [6/15]

void Array< octave_int16 >::instantiation_guard ( )
privateinherited

Definition at line 64 of file Array-i.cc.

◆ instantiation_guard() [7/15]

void Array< octave_int32 >::instantiation_guard ( )
privateinherited

Definition at line 65 of file Array-i.cc.

◆ instantiation_guard() [8/15]

void Array< octave_int64 >::instantiation_guard ( )
privateinherited

Definition at line 66 of file Array-i.cc.

◆ instantiation_guard() [9/15]

void Array< octave_uint8 >::instantiation_guard ( )
privateinherited

Definition at line 73 of file Array-i.cc.

◆ instantiation_guard() [10/15]

void Array< octave_uint16 >::instantiation_guard ( )
privateinherited

Definition at line 74 of file Array-i.cc.

◆ instantiation_guard() [11/15]

void Array< octave_uint32 >::instantiation_guard ( )
privateinherited

Definition at line 75 of file Array-i.cc.

◆ instantiation_guard() [12/15]

void Array< octave_uint64 >::instantiation_guard ( )
privateinherited

Definition at line 76 of file Array-i.cc.

◆ instantiation_guard() [13/15]

void Array< idx_vector >::instantiation_guard ( )
privateinherited

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

◆ instantiation_guard() [14/15]

void Array< short >::instantiation_guard ( )
privateinherited

Definition at line 47 of file Array-s.cc.

◆ instantiation_guard() [15/15]

template<typename T >
void Array< T >::instantiation_guard
staticprivateinherited

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 2760 of file Array.cc.

◆ inverse() [1/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 765 of file fCMatrix.cc.

References inverse().

◆ inverse() [2/6]

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

Definition at line 773 of file fCMatrix.cc.

References inverse().

◆ inverse() [3/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( MatrixType mattype,
octave_idx_type info,
float &  rcon,
bool  force = false,
bool  calc_cond = true 
) const

◆ inverse() [4/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( octave_idx_type info) const

Definition at line 749 of file fCMatrix.cc.

References inverse().

◆ inverse() [5/6]

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

Definition at line 757 of file fCMatrix.cc.

References inverse().

◆ inverse() [6/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( void  ) const

Definition at line 740 of file fCMatrix.cc.

Referenced by inverse(), and xpow().

◆ ipermute()

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

Definition at line 100 of file MArray.h.

◆ is_nd_vector()

template<typename T >
bool Array< T >::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 576 of file Array.h.

References dim_vector::is_nd_vector().

Referenced by dim_vector::make_nd_vector().

◆ is_shared()

template<typename T >
bool Array< T >::is_shared ( 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 587 of file Array.h.

References Array< T >::ArrayRep::count.

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

◆ is_sorted_rows() [1/2]

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

◆ is_sorted_rows() [2/2]

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

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

◆ isempty()

template<typename T >
bool Array< T >::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 572 of file Array.h.

References numel().

Referenced by Array< T >::cat(), Sparse< T >::cat(), octave::ft_text_renderer::compute_bbox(), octave::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(), octave::bp_table::dbstop_process_map_args(), ddaspk_f(), ddasrt_f(), ddassl_f(), do_bsxfun_op(), do_minmax_red_op< boolNDArray >(), do_num2cell(), do_object2cell(), octave::opengl_renderer::draw_axes_boxes(), octave::opengl_renderer::draw_axes_planes(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_axes_z_grid(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), octave::opengl_renderer::draw_text_background(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), F__magick_write__(), Array< T >::find(), find_config_info(), find_nonzero_elem_idx(), axes::properties::get_boundingbox(), uicontrol::properties::get_boundingbox(), uibuttongroup::properties::get_boundingbox(), uipanel::properties::get_boundingbox(), uitable::properties::get_boundingbox(), octave_bool_matrix::load_ascii(), octave_char_matrix_str::load_ascii(), lsode_f(), lsode_user_function(), lsode_user_jacobian(), LuAminusSigmaB(), Range::matrix_value(), octave_print_internal(), octave::textscan::read_format_once(), octave::textscan::scan_string(), octave::opengl_renderer::set_color(), octave_cell::short_disp(), octave::ft_text_renderer::text_to_pixels(), text::properties::update_font(), and val_in_table().

◆ isfinite()

boolNDArray FloatComplexNDArray::isfinite ( void  ) const
inherited

Definition at line 508 of file fCNDArray.cc.

◆ ishermitian()

bool FloatComplexMatrix::ishermitian ( void  ) const

Definition at line 174 of file fCMatrix.cc.

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

Referenced by FloatEIG::init().

◆ isinf()

boolNDArray FloatComplexNDArray::isinf ( void  ) const
inherited

Definition at line 502 of file fCNDArray.cc.

◆ isnan()

boolNDArray FloatComplexNDArray::isnan ( void  ) const
inherited

Definition at line 496 of file fCNDArray.cc.

◆ issorted() [1/3]

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

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

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

◆ issorted() [2/3]

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

◆ issorted() [3/3]

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

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

◆ issquare()

template<typename T >
bool Array< T >::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 570 of file Array.h.

Referenced by ComplexMatrix::ishermitian(), and FloatMatrix::issymmetric().

◆ isvector()

template<typename T >
bool Array< T >::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 574 of file Array.h.

References dim_vector::isvector().

Referenced by Ffilter(), and sizes_cmp().

◆ jit_array_rep()

template<typename T >
void* Array< T >::jit_array_rep ( 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 849 of file Array.h.

References Array< T >::rep.

◆ jit_dimensions()

template<typename T >
octave_idx_type* Array< T >::jit_dimensions ( 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 847 of file Array.h.

References Array< T >::dimensions, and dim_vector::to_jit().

◆ jit_ref_count()

template<typename T >
int Array< T >::jit_ref_count ( void  )
inlineinherited

WARNING: Only call these functions from jit.

Definition at line 843 of file Array.h.

References Array< T >::ArrayRep::count, Array< T >::rep, and octave::refcount< T >::value().

Referenced by octave::octave_jit_paren_subsasgn_matrix_range().

◆ jit_slice_data()

template<typename T >
T* Array< T >::jit_slice_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 845 of file Array.h.

References Array< T >::slice_data.

Referenced by octave::octave_jit_paren_subsasgn_matrix_range().

◆ linear_slice()

template<typename T >
Array< T > Array< T >::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 281 of file Array.cc.

Referenced by octave_value_list::slice().

◆ lookup() [1/4]

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

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

◆ lookup() [2/4]

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

◆ lookup() [3/4]

template<typename T >
octave_idx_type Array< T >::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 2145 of file Array.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() [4/4]

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

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

◆ lssolve() [1/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatColumnVector b) const

Definition at line 2447 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [2/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatColumnVector b,
octave_idx_type info 
) const

Definition at line 2456 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [3/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatColumnVector b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2465 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [4/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatColumnVector b,
octave_idx_type info,
octave_idx_type rank,
float &  rcon 
) const

Definition at line 2473 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [5/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatComplexColumnVector b) const

Definition at line 2480 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [6/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 2489 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [7/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatComplexColumnVector b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2498 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [8/16]

◆ lssolve() [9/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatComplexMatrix b) const

Definition at line 2253 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [10/16]

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

Definition at line 2262 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [11/16]

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

Definition at line 2271 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [12/16]

◆ lssolve() [13/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatMatrix b) const

Definition at line 2221 of file fCMatrix.cc.

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

◆ lssolve() [14/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatMatrix b,
octave_idx_type info 
) const

Definition at line 2230 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [15/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatMatrix b,
octave_idx_type info,
octave_idx_type rank 
) const

Definition at line 2238 of file fCMatrix.cc.

References lssolve().

◆ lssolve() [16/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatMatrix b,
octave_idx_type info,
octave_idx_type rank,
float &  rcon 
) const

Definition at line 2246 of file fCMatrix.cc.

References lssolve().

◆ ltsolve()

◆ make_unique()

◆ map() [1/3]

template<typename T >
template<typename U , typename F >
Array<U> Array< T >::map ( fcn) const
inlineinherited

◆ map() [2/3]

template<typename T >
template<typename U >
Array<U> Array< T >::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 796 of file Array.h.

◆ map() [3/3]

template<typename T >
template<typename U >
Array<U> Array< T >::map ( U(&)(T)  fcn) const
inlineinherited

Overloads for function references.

Definition at line 791 of file Array.h.

◆ max() [1/2]

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

Definition at line 446 of file fCNDArray.cc.

References mx_inline_max().

◆ max() [2/2]

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

Definition at line 440 of file fCNDArray.cc.

References mx_inline_max().

◆ maybe_economize()

template<typename T >
void Array< T >::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 689 of file Array.h.

References Array< T >::ArrayRep::count, Array< T >::ArrayRep::data, and Array< T >::ArrayRep::len.

◆ mex_get_data()

template<typename T >
void* Array< T >::mex_get_data ( void  ) const
inlineinherited

Give a pointer to the data in mex format.

Unsafe. This function exists to support the MEX interface. You should not use it anywhere else.

Definition at line 705 of file Array.h.

Referenced by octave_cell::mex_get_data().

◆ min() [1/2]

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

Definition at line 458 of file fCNDArray.cc.

References mx_inline_min().

◆ min() [2/2]

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

Definition at line 452 of file fCNDArray.cc.

References mx_inline_min().

◆ ndims()

◆ nil_rep()

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

Definition at line 42 of file Array.cc.

◆ nnz() [1/2]

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

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

◆ nnz() [2/2]

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

◆ nth_element() [1/2]

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

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

◆ nth_element() [2/2]

template<typename T >
Array< T > Array< T >::nth_element ( const 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 2306 of file Array.cc.

References ASCENDING, idx_vector::class_range, idx_vector::class_scalar, idx_vector::class_vector, 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 >
octave_idx_type Array< T >::numel ( void  ) const
inlineinherited

Number of elements in the array.

Definition at line 377 of file Array.h.

Referenced by Array< T >::Array(), QtHandles::ButtonControl::ButtonControl(), Cell::Cell(), ComplexMatrix::ComplexMatrix(), ComplexNDArray::ComplexNDArray(), DiagArray2< T >::DiagArray2(), FloatComplexMatrix(), FloatComplexNDArray::FloatComplexNDArray(), FloatNDArray::FloatNDArray(), idx_vector::idx_vector(), idx_vector::idx_vector_rep::idx_vector_rep(), QtHandles::ListBoxControl::ListBoxControl(), NDArray::NDArray(), octave_value_list::octave_value_list(), rec_permute_helper::rec_permute_helper(), QtHandles::SliderControl::SliderControl(), Sparse< T >::Sparse(), octave::math::sparse_lu< lu_type >::sparse_lu(), string_array_property::string_array_property(), text_label_property::text_label_property(), ComplexNDArray::all_integers(), FloatComplexNDArray::all_integers(), FloatNDArray::all_integers(), all_ones(), any_ones(), append(), FloatComplexRowVector::append(), FloatMatrix::append(), FloatRowVector::append(), ComplexMatrix::append(), ComplexRowVector::append(), Matrix::append(), RowVector::append(), octave_value_list::array_value(), Array< T >::assign(), binmap(), bitopxx(), QtHandles::boundingBoxToRect(), calc_dimensions(), QtHandles::Canvas::canvasWheelEvent(), MArray< double >::changesign(), PermMatrix::checkelem(), gh_manager::close_all_figures(), boolNDArray::concat(), charNDArray::concat(), ComplexNDArray::concat(), FloatComplexNDArray::concat(), FloatNDArray::concat(), NDArray::concat(), concat(), conv_to_int_array(), convert_cdata(), convert_position(), octave::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(), octave::bp_table::dbstop_process_map_args(), decode_subscripts(), default_numeric_conversion_function(), octave::error_system::default_warning_state(), DEFMETHOD(), DEFMETHODX(), qr< T >::delete_col(), Array< T >::delete_elements(), delete_graphics_objects(), octave::cdef_class::cdef_class_rep::delete_object(), DiagArray2< T >::diag_length(), PermMatrix::dim1(), PermMatrix::dim2(), octave::error_system::display_warning_options(), octave::math::do_bessel(), do_bitpack(), do_bsxfun_op(), octave_map::do_cat(), do_cellslices_nda(), do_cleanup_waitfor_listener(), octave::rand::do_float_nd_array(), children_property::do_init_children(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DefQuad::do_integrate(), FloatDefQuad::do_integrate(), do_mat2cell(), do_mat2cell_nd(), do_merge(), do_minmax_bin_op< charNDArray >(), do_mx_check(), octave::rand::do_nd_array(), do_num2cell_helper(), do_permute(), do_rand(), do_rc_map(), text_label_property::do_set(), children_property::do_set(), octave_sparse_params::do_set_vals(), octave::do_simple_cellfun(), do_strcmp_fun(), octave::rand::do_vector(), chol< T >::downdate(), octave::opengl_renderer::draw(), octave::opengl_renderer::draw_all_lights(), octave::opengl_renderer::draw_line(), octave::opengl_renderer::draw_marker(), octave::opengl_renderer::draw_patch(), octave::opengl_selector::draw_text(), octave::opengl_renderer::draw_text(), EigsComplexNonSymmetricFunc(), EigsComplexNonSymmetricMatrix(), EigsComplexNonSymmetricMatrixShift(), EigsRealNonSymmetricFunc(), EigsRealNonSymmetricMatrix(), EigsRealNonSymmetricMatrixShift(), EigsRealSymmetricFunc(), EigsRealSymmetricMatrix(), EigsRealSymmetricMatrixShift(), elem_xpow(), octave_fields::equal_up_to_order(), gh_manager::execute_callback(), F__contourc__(), F__delaunayn__(), F__event_manager_input_dialog__(), F__event_manager_list_dialog__(), F__expint__(), F__get__(), F__glpk__(), F__go_delete__(), F__go_execute_callback__(), F__go_post_callback__(), F__magick_read__(), F__native2unicode__(), F__ode15__(), F__pchip_deriv__(), F__unicode2native__(), F__voronoi__(), Faudioread(), Fbase64_decode(), Fbase64_encode(), Fccolamd(), Fcell2struct(), Fcellslices(), Fcolamd(), Fcomplex(), Fconvhulln(), Fcsymamd(), Fdbstop(), Fdrawnow(), Fellipj(), Ffilter(), Fget(), octave::load_path::files(), DiagMatrix::fill(), ComplexDiagMatrix::fill(), FloatComplexDiagMatrix::fill(), FloatDiagMatrix::fill(), ComplexColumnVector::fill(), ComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexRowVector::fill(), FloatRowVector::fill(), FloatColumnVector::fill(), octave::cdef_object_array::fill_empty_values(), filter(), finalize_r(), Array< T >::find(), octave::cdef_class::cdef_class_rep::find_method(), octave::cdef_class::cdef_class_rep::find_methods(), octave::cdef_class::cdef_class_rep::find_names(), find_nonzero_elem_idx(), octave::cdef_class::cdef_class_rep::find_properties(), octave::cdef_class::cdef_class_rep::find_property(), Fis_same_file(), Fisa(), Fisargout(), Fiscolumn(), Fisfield(), Fismatrix(), Fisrow(), Fisscalar(), Fissquare(), Fisvector(), Flookup(), Flu(), Fmatrix_type(), Fndims(), Fnumel(), Fordschur(), octave::curl_transfer::form_data_post(), octave::curl_transfer::form_query_string(), ComplexNDArray::fourier(), FloatComplexNDArray::fourier(), FloatNDArray::fourier(), ComplexNDArray::fourier2d(), FloatComplexNDArray::fourier2d(), FloatNDArray::fourier2d(), Fquadcc(), Fregexprep(), Frepelems(), Freset(), Freshape(), Fresize(), Frmfield(), QtHandles::Utils::fromRgb(), Fset(), Fspparms(), Fstr2double(), Fstrfind(), Fstrrep(), Fsymamd(), Funicode_idx(), Furlread(), Furlwrite(), Fvec(), Fwarning(), octave::cdef_object_scalar::get(), get_children_limits(), base_properties::get_children_of_type(), get_dim_vector(), octave::get_dimensions(), get_region_range(), get_scalar_idx(), octave::get_size(), get_sort_mode(), hex2num(), MArray< T >::idx_add(), ComplexNDArray::ifourier(), FloatComplexNDArray::ifourier(), FloatNDArray::ifourier(), ComplexNDArray::ifourier2d(), FloatComplexNDArray::ifourier2d(), FloatNDArray::ifourier2d(), Array< T >::index(), octave::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(), insert(), FloatMatrix::insert(), intNDArray< octave_uint8 >::insert(), ComplexNDArray::insert(), FloatComplexNDArray::insert(), ComplexRowVector::insert(), RowVector::insert(), ComplexMatrix::insert(), Matrix::insert(), qr< T >::insert_col(), qr< T >::insert_row(), chol< T >::insert_sym(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), ComplexMatrix::inverse(), inverse(), FloatMatrix::inverse(), octave::math::sparse_chol< chol_type >::inverse(), is_handle_visible(), octave::is_superclass(), PermMatrix::isempty(), ishghandle(), DiagArray2< T >::length(), linspace(), octave_bool_matrix::load_ascii(), octave::scoped_fcn_handle::load_ascii(), octave::scoped_fcn_handle::load_binary(), octave::textscan::lookahead(), Array< T >::lookup(), octave::lookup_classes(), Matrix::lssolve(), ComplexMatrix::lssolve(), FloatMatrix::lssolve(), lssolve(), LuAminusSigmaB(), octave::cdef_object::map_value(), ComplexColumnVector::max(), ComplexRowVector::max(), FloatComplexColumnVector::max(), FloatColumnVector::max(), FloatComplexRowVector::max(), FloatRowVector::max(), ComplexColumnVector::min(), ComplexRowVector::min(), FloatComplexColumnVector::min(), FloatColumnVector::min(), FloatComplexRowVector::min(), FloatRowVector::min(), norm1(), null(), num2hex(), numel(), octave_class::numeric_conv(), octave::octave_jit_paren_subsasgn_impl(), octave_print_internal(), octcellregexp(), operator*(), ComplexColumnVector::operator+=(), FloatComplexColumnVector::operator+=(), operator+=(), FloatComplexRowVector::operator+=(), ComplexMatrix::operator+=(), ComplexRowVector::operator+=(), ComplexColumnVector::operator-=(), FloatComplexColumnVector::operator-=(), operator-=(), FloatComplexRowVector::operator-=(), ComplexMatrix::operator-=(), ComplexRowVector::operator-=(), operator<<(), ColumnVector::operator==(), ComplexColumnVector::operator==(), ComplexMatrix::operator==(), ComplexRowVector::operator==(), FloatColumnVector::operator==(), FloatComplexColumnVector::operator==(), operator==(), FloatComplexRowVector::operator==(), FloatMatrix::operator==(), FloatRowVector::operator==(), RowVector::operator==(), operator>>(), octave::bp_table::parse_dbfunction_params(), octave::textscan::parse_options(), PermMatrix::perm_length(), octave_base_diag< DMT, MT >::permute(), Array< T >::permute(), Sparse< T >::permute(), print_DASPK_options(), print_DASRT_options(), print_DASSL_options(), print_LSODE_options(), ComplexMatrix::pseudo_inverse(), Matrix::pseudo_inverse(), 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(), octave::textscan::read_until(), octave::type_info::register_type(), figure::properties::remove_child(), octave::ft_text_renderer::render(), octave::opengl_renderer::render_grid(), octave::opengl_renderer::render_tickmarks(), octave::opengl_renderer::render_ticktexts(), safe_comparator(), octave_perm_matrix::save_ascii(), save_mat5_binary_element(), save_mat5_element_length(), octave::textscan::scan_complex(), octave::textscan::scan_string(), QtHandles::Canvas::select_object(), gnuplot_graphics_toolkit::send_quit(), graphics_object::set(), octave::ft_text_renderer::set_color(), annotation_dialog::set_gui_props(), octave::curl_transfer::set_header_fields(), octave::rand::set_internal_state(), octave::ft_text_renderer::set_mode(), octave::error_system::set_warning_option(), PermMatrix::setup(), show_DASPK_options(), show_DASRT_options(), show_DASSL_options(), show_LSODE_options(), sizes_cmp(), octave::textscan::skip_delim(), octave::textscan::skip_whitespace(), ComplexColumnVector::stack(), ColumnVector::stack(), FloatComplexColumnVector::stack(), FloatColumnVector::stack(), stack(), FloatMatrix::stack(), ComplexMatrix::stack(), Matrix::stack(), sub2ind(), octave::cdef_object_array::subsasgn(), octave_cell::subsasgn(), octave_struct::subsasgn(), octave_class::subsasgn_common(), octave_struct::subsref(), octave_cell::subsref(), octave_class::subsref(), QtHandles::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(), QtHandles::ButtonControl::update(), QtHandles::PopupMenuControl::update(), QtHandles::SliderControl::update(), hggroup::update_axis_limits(), base_properties::update_boundingbox(), octave::file_editor_tab::update_lexer_settings(), lu< T >::update_piv(), octave::workspace_model::update_table(), update_text_pos(), QtHandles::Table::updateColumnname(), QtHandles::Table::updateColumnwidth(), QtHandles::Canvas::updateCurrentPoint(), QtHandles::Table::updateRowname(), QtHandles::updateSelection(), array_property::validate(), QtHandles::SliderControl::valueChanged(), vector_norm(), octave::opengl_renderer::patch_tessellator::vertex(), octave::tree_evaluator::visit_complex_for_command(), octave::error_system::warning_query(), octave::stream::write(), write_mat5_cell_array(), x_el_div(), octave::xzip(), and zero_dims_inquire().

◆ operator!()

boolMatrix FloatComplexMatrix::operator! ( void  ) const

◆ operator!=()

Definition at line 168 of file fCMatrix.cc.

◆ operator()() [1/8]

template<typename T >
T& Array< T >::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 517 of file Array.h.

References elem, and ra_idx.

◆ operator()() [2/8]

template<typename T >
crefT Array< T >::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 546 of file Array.h.

References elem, and ra_idx.

◆ operator()() [3/8]

template<typename T >
T& Array< T >::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 514 of file Array.h.

References elem.

◆ operator()() [4/8]

template<typename T >
crefT Array< T >::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 541 of file Array.h.

References elem.

◆ operator()() [5/8]

template<typename T >
T& Array< T >::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 515 of file Array.h.

References elem.

◆ operator()() [6/8]

template<typename T >
crefT Array< T >::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 543 of file Array.h.

References elem.

◆ operator()() [7/8]

template<typename T >
T& Array< T >::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 513 of file Array.h.

References elem, and n.

◆ operator()() [8/8]

template<typename T >
crefT Array< T >::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 540 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=()

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

◆ operator==()

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

◆ optimize_dimensions()

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

Returns true if this->dims () == dv, and if so, replaces this->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 2750 of file Array.cc.

References retval.

Referenced by octave_map::cat(), octave_map::index(), octave_map::permute(), octave_map::reshape(), octave_map::squeeze(), and octave_map::transpose().

◆ page()

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

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

Definition at line 270 of file Array.cc.

References r.

◆ pages()

template<typename T >
octave_idx_type Array< T >::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 432 of file Array.h.

◆ permute()

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

Definition at line 96 of file MArray.h.

◆ print_info()

template<typename T >
void Array< T >::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 2734 of file Array.cc.

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

◆ prod()

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

Definition at line 2811 of file fCMatrix.cc.

References FloatComplexNDArray::prod().

◆ pseudo_inverse()

◆ rcond() [1/2]

◆ rcond() [2/2]

float FloatComplexMatrix::rcond ( void  ) const

Definition at line 1327 of file fCMatrix.cc.

◆ reshape() [1/2]

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

Definition at line 93 of file MArray.h.

◆ reshape() [2/2]

template<typename T >
Array<T> Array< T >::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 560 of file Array.h.

Referenced by idx_vector::idx_mask_rep::as_array(), Array< T >::assign(), Fbase64_decode(), Freshape(), Fvec(), octave_map::reshape(), Cell::reshape(), octave_base_scalar< ST >::reshape(), octave_class::reshape(), octave_lazy_index::reshape(), octave_matrix::reshape(), and MArray< T >::reshape().

◆ resize() [1/3]

template<typename T >
void Array< T >::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 614 of file Array.h.

References Array< T >::resize().

Referenced by Array< T >::resize().

◆ resize() [2/3]

template<typename T >
void Array< T >::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 1011 of file Array.cc.

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

Referenced by DiagArray2< T >::DiagArray2(), octave::math::sparse_lu< lu_type >::sparse_lu(), octave_value_list::array_value(), octave::base64_decode(), bitopxx(), SparseMatrix::bsolve(), call_mex(), Cell::column(), ComplexMatrix::column_max(), Matrix::column_max(), column_max(), FloatMatrix::column_max(), ComplexMatrix::column_min(), Matrix::column_min(), column_min(), FloatMatrix::column_min(), octave::regexp::compile_internal(), convert_label_position(), convert_text_position(), dmsolve(), dmsolve_permute(), octave::math::do_bessel(), do_cumminmax_red_op(), do_fft(), do_fft2(), do_fftn(), children_property::do_get_children(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), do_object2cell(), do_regexp_ptn_string_escapes(), do_regexp_rep_string_escapes(), octave::do_simple_cellfun(), octave::do_string_escapes(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), octave::tree_cell::evaluate(), extract_keyword(), F__glpk__(), F__magick_read__(), Farrayfun(), Fbsxfun(), Fcellfun(), Fdet(), Ffilter(), Fgcd(), Fget(), filter(), find_nonzero_elem_idx(), ComplexMatrix::finverse(), Matrix::finverse(), finverse(), FloatMatrix::finverse(), Flu(), Frandperm(), freeze(), Fresize(), Fsize(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fwarning(), get_object_dims(), get_ra_idx(), octave::sys::glob(), ichol_t(), MArray< T >::idx_add_nd(), octave::tree_evaluator::ignored_fcn_outputs(), ilu_crout(), ilu_tp(), Array< T >::index(), DASPK::integrate(), DASSL::integrate(), DASRT::integrate(), intmap_to_ov(), linspace(), octave::curl_transfer::list(), 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(), ComplexMatrix::lssolve(), lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), octave::make_indices(), octave_complex_diag_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_diag_matrix::map(), octave_diag_matrix::map(), SparseComplexMatrix::max(), SparseMatrix::max(), mexCallMATLAB(), SparseComplexMatrix::min(), SparseMatrix::min(), null(), octregexp(), octave::stream_list::open_file_numbers(), octave::base_stream::oscanf(), octave::textscan_format_list::parse_char_class(), octave::type_info::register_type(), octave_map::resize(), octave_base_diag< DMT, MT >::resize(), octave_base_matrix< MT >::resize(), octave_range::resize(), octave_char_matrix_str::resize(), octave_base_sparse< T >::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(), ComplexMatrix::resize(), resize(), Matrix::resize(), FloatMatrix::resize(), charMatrix::row_as_string(), ComplexMatrix::row_max(), Matrix::row_max(), row_max(), FloatMatrix::row_max(), ComplexMatrix::row_min(), Matrix::row_min(), row_min(), FloatMatrix::row_min(), octave::error_system::set_warning_option(), octave_class::size(), octave_base_scalar< ST >::sort(), Range::sort_internal(), octave_value_list::splice(), octave_char_matrix_str::string_vector_value(), utsolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), and octave::sys::windows_glob().

◆ resize() [3/3]

void FloatComplexMatrix::resize ( octave_idx_type  nr,
octave_idx_type  nc,
const FloatComplex rfv = FloatComplex (0) 
)
inline

Definition at line 194 of file fCMatrix.h.

References Array< T >::resize().

Referenced by qr< T >::init(), qrp< T >::init(), and FloatEIG::init().

◆ resize1() [1/2]

template<typename T >
void Array< T >::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 611 of file Array.h.

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

Referenced by Array< T >::resize1().

◆ resize1() [2/2]

template<typename T >
void Array< T >::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 898 of file Array.cc.

References octave::err_invalid_resize(), Array< T >::fortran_vec(), min(), n, nn, and numel().

Referenced by Array< T >::index(), and octave::octave_jit_paren_subsasgn_impl().

◆ resize2() [1/2]

template<typename T >
void Array< T >::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 605 of file Array.h.

◆ resize2() [2/2]

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

Resizing (with fill).

Definition at line 969 of file Array.cc.

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

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

◆ resize_fill_value()

template<typename T >
T Array< T >::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 887 of file Array.cc.

◆ row()

FloatComplexRowVector FloatComplexMatrix::row ( octave_idx_type  i) const

Definition at line 705 of file fCMatrix.cc.

References idx_vector::colon, and Array< T >::index().

◆ row_is_real_only()

bool FloatComplexMatrix::row_is_real_only ( octave_idx_type  i) const

Definition at line 2856 of file fCMatrix.cc.

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

Referenced by row_max(), and row_min().

◆ row_max() [1/2]

◆ row_max() [2/2]

FloatComplexColumnVector FloatComplexMatrix::row_max ( void  ) const

Definition at line 2969 of file fCMatrix.cc.

◆ row_min() [1/2]

◆ row_min() [2/2]

FloatComplexColumnVector FloatComplexMatrix::row_min ( void  ) const

Definition at line 2894 of file fCMatrix.cc.

◆ rows()

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

Definition at line 415 of file Array.h.

Referenced by aepbalance< T >::aepbalance(), ComplexMatrix::ComplexMatrix(), FloatComplexMatrix(), FloatMatrix::FloatMatrix(), lu< T >::lu(), Matrix::Matrix(), octave::math::airy(), append(), FloatMatrix::append(), ComplexMatrix::append(), Matrix::append(), octave::math::biry(), SparseComplexMatrix::bsolve(), SparseMatrix::bsolve(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::C(), octave_char_matrix_str::cellstr_value(), QtHandles::Table::checkBoxClicked(), ComplexMatrix::column_is_real_only(), column_is_real_only(), ComplexMatrix::column_max(), column_max(), FloatMatrix::column_max(), ComplexMatrix::column_min(), column_min(), FloatMatrix::column_min(), convert_cdata(), ComplexMatrix::determinant(), determinant(), FloatMatrix::determinant(), octave_complex_matrix::diag(), octave_float_complex_matrix::diag(), octave_float_matrix::diag(), octave_matrix::diag(), ComplexMatrix::diag(), diag(), FloatMatrix::diag(), dmsolve_insert(), dmsolve_permute(), octave::math::do_bessel(), do_fftn(), do_repelems(), string_array_property::do_set(), do_sparse_diff(), do_tril(), do_triu(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), drawcn(), SparseComplexMatrix::dsolve(), SparseMatrix::dsolve(), 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(), ComplexMatrix::fill(), fill(), FloatMatrix::fill(), find_nonzero_elem_idx(), ComplexMatrix::finverse(), finverse(), FloatMatrix::finverse(), qr< T >::form(), ComplexMatrix::fourier(), fourier(), FloatMatrix::fourier(), ComplexMatrix::fourier2d(), fourier2d(), FloatMatrix::fourier2d(), Frepelems(), ComplexMatrix::fsolve(), fsolve(), FloatMatrix::fsolve(), Matrix::fsolve(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), EIG::hermitian_init(), FloatEIG::hermitian_init(), ComplexMatrix::ifourier(), ifourier(), FloatMatrix::ifourier(), ComplexMatrix::ifourier2d(), ifourier2d(), FloatMatrix::ifourier2d(), Sparse< T >::index(), Array< T >::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 >::insert(), insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexMatrix::inverse(), inverse(), FloatMatrix::inverse(), ComplexMatrix::ishermitian(), ishermitian(), FloatMatrix::issymmetric(), kron(), ComplexMatrix::lssolve(), lssolve(), FloatMatrix::lssolve(), Matrix::lssolve(), ComplexMatrix::ltsolve(), 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*(), ComplexMatrix::operator+=(), operator+=(), FloatMatrix::operator+=(), ComplexMatrix::operator-=(), operator-=(), FloatMatrix::operator-=(), boolMatrix::operator==(), charMatrix::operator==(), ComplexMatrix::operator==(), operator==(), FloatMatrix::operator==(), Matrix::operator==(), QtHandles::pointer_to_qimage(), ComplexMatrix::pseudo_inverse(), pseudo_inverse(), FloatMatrix::pseudo_inverse(), ComplexMatrix::rcond(), rcond(), FloatMatrix::rcond(), octave::regexp::replace(), ComplexMatrix::row_max(), row_max(), FloatMatrix::row_max(), ComplexMatrix::row_min(), row_min(), FloatMatrix::row_min(), octave_cell::save_ascii(), octave_char_matrix_str::save_ascii(), save_mat_binary_data(), save_three_d(), sizes_cmp(), sqrtm_utri_inplace(), stack(), FloatMatrix::stack(), ComplexMatrix::stack(), Matrix::stack(), stack_complex_matrix(), streameuler2d_internal(), octave_char_matrix_str::string_vector_value(), octave::tree_evaluator::switch_case_label_matches(), Sylvester(), FloatEIG::symmetric_init(), EIG::symmetric_init(), ComplexMatrix::tinverse(), 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(), QtHandles::Table::updateColumnname(), QtHandles::Table::updateRowname(), ComplexMatrix::utsolve(), utsolve(), FloatMatrix::utsolve(), Matrix::utsolve(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), x_el_div(), xgemm(), and xpow().

◆ size()

template<typename T >
size_type Array< T >::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 442 of file Array.h.

References d.

Referenced by Fdbstatus(), octave::textscan::parse_options(), octave::bp_table::remove_breakpoint(), and octave_value::size().

◆ solve() [1/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatColumnVector b) const

Definition at line 2154 of file fCMatrix.cc.

References solve().

◆ solve() [2/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatColumnVector b,
octave_idx_type info 
) const

Definition at line 2162 of file fCMatrix.cc.

References solve().

◆ solve() [3/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatColumnVector b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 2170 of file fCMatrix.cc.

References solve().

◆ solve() [4/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatColumnVector b,
octave_idx_type info,
float &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2177 of file fCMatrix.cc.

References solve().

◆ solve() [5/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatComplexColumnVector b) const

Definition at line 2186 of file fCMatrix.cc.

References solve().

◆ solve() [6/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 2194 of file fCMatrix.cc.

References solve().

◆ solve() [7/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatComplexColumnVector b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 2202 of file fCMatrix.cc.

References solve().

◆ solve() [8/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatComplexColumnVector b,
octave_idx_type info,
float &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2210 of file fCMatrix.cc.

References solve().

◆ solve() [9/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatComplexMatrix b) const

Definition at line 2121 of file fCMatrix.cc.

References solve().

◆ solve() [10/32]

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

Definition at line 2129 of file fCMatrix.cc.

References solve().

◆ solve() [11/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatComplexMatrix b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 2137 of file fCMatrix.cc.

References solve().

◆ solve() [12/32]

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

Definition at line 2144 of file fCMatrix.cc.

References solve().

◆ solve() [13/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatMatrix b) const

Definition at line 2089 of file fCMatrix.cc.

References solve().

◆ solve() [14/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatMatrix b,
octave_idx_type info 
) const

Definition at line 2097 of file fCMatrix.cc.

References solve().

◆ solve() [15/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatMatrix b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 2104 of file fCMatrix.cc.

References solve().

◆ solve() [16/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatMatrix b,
octave_idx_type info,
float &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2111 of file fCMatrix.cc.

References solve().

◆ solve() [17/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatColumnVector b 
) const

Definition at line 2016 of file fCMatrix.cc.

References solve().

◆ solve() [18/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatColumnVector b,
octave_idx_type info 
) const

Definition at line 2025 of file fCMatrix.cc.

References solve().

◆ solve() [19/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatColumnVector b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 2033 of file fCMatrix.cc.

References solve().

◆ solve() [20/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatColumnVector b,
octave_idx_type info,
float &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2040 of file fCMatrix.cc.

References solve().

◆ solve() [21/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatComplexColumnVector b 
) const

Definition at line 2050 of file fCMatrix.cc.

References solve().

◆ solve() [22/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatComplexColumnVector b,
octave_idx_type info 
) const

Definition at line 2059 of file fCMatrix.cc.

References solve().

◆ solve() [23/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatComplexColumnVector b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 2068 of file fCMatrix.cc.

References solve().

◆ solve() [24/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( MatrixType mattype,
const FloatComplexColumnVector b,
octave_idx_type info,
float &  rcon,
solve_singularity_handler  sing_handler,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 2076 of file fCMatrix.cc.

References column(), and solve().

◆ solve() [25/32]

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

Definition at line 1952 of file fCMatrix.cc.

References solve().

◆ solve() [26/32]

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

Definition at line 1961 of file fCMatrix.cc.

References solve().

◆ solve() [27/32]

FloatComplexMatrix FloatComplexMatrix::solve ( MatrixType mattype,
const FloatComplexMatrix b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 1969 of file fCMatrix.cc.

References solve().

◆ solve() [28/32]

◆ solve() [29/32]

FloatComplexMatrix FloatComplexMatrix::solve ( MatrixType mattype,
const FloatMatrix b 
) const

Definition at line 1918 of file fCMatrix.cc.

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

◆ solve() [30/32]

FloatComplexMatrix FloatComplexMatrix::solve ( MatrixType mattype,
const FloatMatrix b,
octave_idx_type info 
) const

Definition at line 1926 of file fCMatrix.cc.

References solve().

◆ solve() [31/32]

FloatComplexMatrix FloatComplexMatrix::solve ( MatrixType mattype,
const FloatMatrix b,
octave_idx_type info,
float &  rcon 
) const

Definition at line 1934 of file fCMatrix.cc.

References solve().

◆ solve() [32/32]

FloatComplexMatrix FloatComplexMatrix::solve ( MatrixType mattype,
const FloatMatrix b,
octave_idx_type info,
float &  rcon,
solve_singularity_handler  sing_handler,
bool  singular_fallback = true,
blas_trans_type  transt = blas_no_trans 
) const

Definition at line 1941 of file fCMatrix.cc.

References solve().

◆ sort() [1/4]

template<typename T >
Array< T > Array< T >::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 1873 of file Array.cc.

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

◆ sort() [2/4]

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

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

◆ sort() [3/4]

◆ sort() [4/4]

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

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

◆ sort_rows_idx() [1/2]

◆ sort_rows_idx() [2/2]

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

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

◆ squeeze()

FloatComplexNDArray FloatComplexNDArray::squeeze ( void  ) const
inlineinherited

Definition at line 130 of file fCNDArray.h.

References MArray< T >::squeeze().

◆ stack() [1/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatColumnVector a) const

◆ stack() [2/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexColumnVector a) const

◆ stack() [3/8]

◆ stack() [4/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexMatrix a) const

Definition at line 618 of file fCMatrix.cc.

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

◆ stack() [5/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexRowVector a) const

◆ stack() [6/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatDiagMatrix a) const

◆ stack() [7/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatMatrix a) const

Definition at line 558 of file fCMatrix.cc.

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

◆ stack() [8/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatRowVector a) const

◆ sum()

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

Definition at line 2817 of file fCMatrix.cc.

References FloatComplexNDArray::sum().

◆ sumsq()

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

Definition at line 2823 of file fCMatrix.cc.

References FloatComplexNDArray::sumsq().

◆ test()

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

Generic any/all test functionality with arbitrary predicate.

Definition at line 802 of file Array.h.

References numel().

◆ test_all() [1/3]

template<typename T >
bool Array< T >::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 829 of file Array.h.

◆ test_all() [2/3]

template<typename T >
bool Array< T >::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 826 of file Array.h.

◆ test_all() [3/3]

template<typename T >
template<typename F >
bool Array< T >::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 814 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(), and FloatNDArray::any_element_not_one_or_zero().

◆ test_any() [1/3]

template<typename T >
bool Array< T >::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 823 of file Array.h.

◆ test_any() [2/3]

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

Overloads for function references.

Definition at line 820 of file Array.h.

◆ test_any() [3/3]

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

Simpler calls.

Definition at line 810 of file Array.h.

Referenced by ComplexNDArray::too_large_for_float().

◆ tinverse()

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

◆ too_large_for_float()

bool FloatComplexNDArray::too_large_for_float ( void  ) const
inherited

Definition at line 340 of file fCNDArray.cc.

◆ transpose()

FloatComplexMatrix FloatComplexMatrix::transpose ( void  ) const
inline

Definition at line 175 of file fCMatrix.h.

References MArray< T >::transpose().

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

◆ utsolve()

◆ xelem() [1/8]

template<typename T >
T& Array< T >::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 482 of file Array.h.

References ra_idx.

◆ xelem() [2/8]

template<typename T >
crefT Array< T >::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 485 of file Array.h.

References ra_idx.

◆ xelem() [3/8]

template<typename T >
T& Array< T >::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 472 of file Array.h.

◆ xelem() [4/8]

template<typename T >
crefT Array< T >::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 474 of file Array.h.

◆ xelem() [5/8]

template<typename T >
T& Array< T >::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 477 of file Array.h.

◆ xelem() [6/8]

template<typename T >
crefT Array< T >::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 479 of file Array.h.

◆ xelem() [7/8]

template<typename T >
T& Array< T >::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 469 of file Array.h.

References n.

Referenced by ComplexMatrix::ComplexMatrix(), ComplexNDArray::ComplexNDArray(), 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(), Sparse< T >::array_value(), idx_vector::idx_range_rep::as_array(), idx_vector::idx_mask_rep::as_array(), octave::as_bool_nd_array(), dim_vector::as_column(), octave::as_nd_array(), dim_vector::as_row(), octave::type_info::assign_ops_map(), octave::type_info::assignany_ops_map(), octave::type_info::binary_ops_map(), Cell::cellstr_value(), octave_char_matrix_str::cellstr_value(), octave::chol2inv_internal(), Cell::column(), column_norms(), octave::type_info::compound_binary_ops_map(), DiagArray2< T >::dgxelem(), Array< T >::diag(), dmsolve_extract(), octave_map::do_cat(), do_cellslices_nda(), children_property::do_init_children(), do_mat2cell(), do_mat2cell_2d(), do_mat2cell_nd(), do_num2cell(), do_numeric_lookup(), do_object2cell(), do_rand(), do_rc_map(), children_property::do_set(), Array< T >::elem(), dim_vector::elem(), elem_xpow(), dim_vector::empty_2d(), octave_builtin::execute(), 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(), octave_fields::fieldnames(), ComplexColumnVector::fill(), ComplexMatrix::fill(), ComplexRowVector::fill(), FloatComplexColumnVector::fill(), fill(), FloatComplexRowVector::fill(), FloatMatrix::fill(), FloatRowVector::fill(), FloatColumnVector::fill(), octave::cdef_object_array::fill_empty_values(), find_nonzero_elem_idx(), dim_vector::first_non_singleton(), Flookup(), Fordschur(), qr< T >::form(), SparseComplexMatrix::fsolve(), SparseMatrix::fsolve(), Fstruct2cell(), octave::math::lu< T >::getp(), Array< T >::hermitian(), hex2num(), imag(), Sparse< T >::index(), ComplexColumnVector::insert(), FloatComplexColumnVector::insert(), FloatColumnVector::insert(), insert(), FloatComplexRowVector::insert(), FloatRowVector::insert(), FloatMatrix::insert(), ComplexMatrix::insert(), ComplexRowVector::insert(), idx_vector::inverse_permutation(), is_handle_visible(), dim_vector::is_nd_vector(), ishghandle(), dim_vector::isvector(), kron(), linspace(), SparseComplexMatrix::ltsolve(), SparseMatrix::ltsolve(), LuAminusSigmaB(), map_2_xlog2(), Range::matrix_value(), octave::type_info::non_const_unary_ops_map(), norm1(), octave::octave_jit_paren_scalar(), octave::octave_jit_paren_scalar_subsasgn(), octave::octave_jit_paren_subsasgn_matrix_range(), octave_scalar_map::orderfields(), octave_map::orderfields(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::P(), octave::math::lu< T >::P_vec(), octave::math::sparse_lu< lu_type >::Pc_vec(), octave_base_diag< DMT, MT >::permute(), octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::Pinv(), octave::math::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(), Cell::string_vector_value(), SparseBoolMatrix::sum(), Array< T >::transpose(), PermMatrix::transpose(), octave::type_info::unary_ops_map(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), SparseComplexMatrix::utsolve(), SparseMatrix::utsolve(), DiagArray2< T >::xelem(), xgemm(), and dim_vector::zero_by_zero().

◆ xelem() [8/8]

template<typename T >
crefT Array< T >::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 470 of file Array.h.

References n.

Friends And Related Function Documentation

◆ conj

OCTAVE_API FloatComplexMatrix conj ( const FloatComplexMatrix a)
friend

Definition at line 678 of file fCMatrix.cc.

Referenced by conj().

◆ operator<<

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

Definition at line 3195 of file fCMatrix.cc.

◆ operator>>

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

Definition at line 3211 of file fCMatrix.cc.

Member Data Documentation

◆ dimensions

◆ rep

◆ slice_data

template<typename T >
T* Array< T >::slice_data
protectedinherited

Definition at line 228 of file Array.h.

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

◆ slice_len

template<typename T >
octave_idx_type Array< T >::slice_len
protectedinherited

Definition at line 229 of file Array.h.

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


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