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

#include "CMatrix.h"

Inheritance diagram for ComplexMatrix:
Collaboration diagram for ComplexMatrix:

Public Types

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

Public Member Functions

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

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

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_API octave_idx_type compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
 
static OCTAVE_API void increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
 

Protected Attributes

dim_vector m_dimensions
 
Array< Complex, Alloc >::ArrayRep * m_rep
 
Complexm_slice_data
 
octave_idx_type m_slice_len
 

Private Member Functions

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

Static Private Member Functions

static OCTARRAY_API void instantiation_guard ()
 
static OCTARRAY_API Array< Complex, Alloc >::ArrayRep * nil_rep (void)
 

Friends

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

Third dimension

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

OCTARRAY_API Array< Complex, Alloc > & insert (const Array< Complex, Alloc > &a, const Array< octave_idx_type > &idx)
 Insert an array into another at a specified position. More...
 
OCTARRAY_API Array< Complex, Alloc > & insert (const Array< Complex, Alloc > &a, octave_idx_type r, octave_idx_type c)
 This is just a special case for idx = [r c 0 ...]. More...
 
OCTARRAY_API octave_idx_type compute_index (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_API octave_idx_type compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_API octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
Array< Complex, Allocreshape (octave_idx_type nr, octave_idx_type nc) 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...
 
std::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...
 
Complexxelem (octave_idx_type n)
 Size of the specified dimension. More...
 
crefT xelem (octave_idx_type n) const
 Size of the specified dimension. More...
 
Complexxelem (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...
 
Complexxelem (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...
 
Complexxelem (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...
 
OCTARRAY_API Complexcheckelem (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_API Complexcheckelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
OCTARRAY_API Complexcheckelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
OCTARRAY_API Complexcheckelem (const Array< octave_idx_type > &ra_idx)
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (octave_idx_type n) const
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (octave_idx_type i, octave_idx_type j) const
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 Size of the specified dimension. More...
 
OCTARRAY_API crefT checkelem (const Array< octave_idx_type > &ra_idx) const
 Size of the specified dimension. More...
 
Complexelem (octave_idx_type n)
 Size of the specified dimension. More...
 
Complexelem (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
Complexelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
Complexelem (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...
 
Complexoperator() (octave_idx_type n)
 Size of the specified dimension. More...
 
Complexoperator() (octave_idx_type i, octave_idx_type j)
 Size of the specified dimension. More...
 
Complexoperator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 Size of the specified dimension. More...
 
Complexoperator() (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...
 
OCTARRAY_API Array< Complex, Allocpage (octave_idx_type k) const
 Extract page: A(:,:,k+1). More...
 
OCTARRAY_API Array< Complex, Alloclinear_slice (octave_idx_type lo, octave_idx_type up) const
 Extract a slice from this array as a column vector: A(:)(lo+1:up). More...
 
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 Complexdata (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API Complexfortran_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...
 
OCTARRAY_API Array< Complex, Allocindex (const octave::idx_vector &i) const
 Indexing without resizing. More...
 
OCTARRAY_API Array< Complex, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< Complex, Allocindex (const Array< octave::idx_vector > &ia) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< Complex, Allocindex (const octave::idx_vector &i, bool resize_ok, const Complex &rfv) const
 Indexing with possible resizing and fill. More...
 
Array< Complex, Allocindex (const octave::idx_vector &i, bool resize_ok) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< Complex, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const Complex &rfv) const
 Size of the specified dimension. More...
 
Array< Complex, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< Complex, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok, const Complex &rfv) const
 Size of the specified dimension. More...
 
Array< Complex, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok) const
 Size of the specified dimension. More...
 
virtual OCTARRAY_API Complex resize_fill_value (void) const
 Size of the specified dimension. More...
 
OCTARRAY_API void resize2 (octave_idx_type nr, octave_idx_type nc, const Complex &rfv)
 Resizing (with fill). More...
 
void resize2 (octave_idx_type nr, octave_idx_type nc)
 Size of the specified dimension. More...
 
OCTARRAY_API void resize1 (octave_idx_type n, const Complex &rfv)
 Size of the specified dimension. More...
 
void resize1 (octave_idx_type n)
 Size of the specified dimension. More...
 
OCTARRAY_API void resize (const dim_vector &dv, const Complex &rfv)
 Size of the specified dimension. More...
 
void resize (const dim_vector &dv)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const octave::idx_vector &i, const Array< Complex, Alloc > &rhs, const Complex &rfv)
 Indexed assignment (always with resize & fill). More...
 
void assign (const octave::idx_vector &i, const Array< Complex, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< Complex, Alloc > &rhs, const Complex &rfv)
 Size of the specified dimension. More...
 
void assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< Complex, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void assign (const Array< octave::idx_vector > &ia, const Array< Complex, Alloc > &rhs, const Complex &rfv)
 Size of the specified dimension. More...
 
void assign (const Array< octave::idx_vector > &ia, const Array< Complex, Alloc > &rhs)
 Size of the specified dimension. More...
 
OCTARRAY_API void delete_elements (const octave::idx_vector &i)
 Deleting elements. More...
 
OCTARRAY_API void delete_elements (int dim, const octave::idx_vector &i)
 A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More...
 
OCTARRAY_API void delete_elements (const Array< octave::idx_vector > &ia)
 Dispatcher to the above two. More...
 
void maybe_economize (void)
 Size of the specified dimension. More...
 
OCTARRAY_API void print_info (std::ostream &os, const std::string &prefix) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< Complex, Allocsort (int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
OCTARRAY_API Array< Complex, Allocsort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
OCTARRAY_API sortmode issorted (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
OCTARRAY_API Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 Sort by rows returns only indices. More...
 
OCTARRAY_API sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
OCTARRAY_API octave_idx_type lookup (const Complex &value, sortmode mode=UNSORTED) const
 Do a binary lookup in a sorted array. More...
 
OCTARRAY_API Array< octave_idx_typelookup (const Array< Complex, Alloc > &values, sortmode mode=UNSORTED) const
 Ditto, but for an array of values, specializing on the case when values are sorted. More...
 
OCTARRAY_API octave_idx_type nnz (void) const
 Count nonzero elements. More...
 
OCTARRAY_API Array< octave_idx_typefind (octave_idx_type n=-1, bool backward=false) const
 Find indices of (at most n) nonzero elements. More...
 
OCTARRAY_API Array< Complex, Allocnth_element (const octave::idx_vector &n, int dim=0) const
 Returns the n-th element in increasing order, using the same ordering as used for sort. More...
 
Array< U, Amap (F fcn) const
 Apply function fcn to each element of the Array<T, Alloc>. More...
 
Array< U, Amap (U(&fcn)(Complex)) const
 Overloads for function references. More...
 
Array< U, Amap (U(&fcn)(const Complex &)) const
 Size of the specified dimension. More...
 
bool test (F fcn) const
 Generic any/all test functionality with arbitrary predicate. More...
 
bool test_any (F fcn) const
 Simpler calls. More...
 
bool test_any (bool(&fcn)(Complex)) const
 Overloads for function references. More...
 
bool test_any (bool(&fcn)(const Complex &)) const
 Size of the specified dimension. More...
 
bool test_all (F fcn) const
 Size of the specified dimension. More...
 
bool test_all (bool(&fcn)(Complex)) const
 Size of the specified dimension. More...
 
bool test_all (bool(&fcn)(const Complex &)) const
 Size of the specified dimension. More...
 
OCTARRAY_API bool optimize_dimensions (const dim_vector &dv)
 Returns true if this->dims () == dv, and if so, replaces this->m_dimensions by a shallow copy of dv. More...
 
static OCTARRAY_API Array< Complex, Alloccat (int dim, octave_idx_type n, const Array< Complex, Alloc > *array_list)
 Concatenation along a specified (0-based) dimension, equivalent to cat(). More...
 

Detailed Description

Definition at line 40 of file CMatrix.h.

Member Typedef Documentation

◆ column_vector_type

◆ compare_fcn_type

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

Definition at line 239 of file Array.h.

◆ complex_diag_matrix_type

◆ complex_elt_type

Definition at line 59 of file CMatrix.h.

◆ complex_matrix_type

Definition at line 53 of file CMatrix.h.

◆ crefT

typedef ref_param<Complex >::type Array< Complex , Alloc >::crefT
inherited

Definition at line 237 of file Array.h.

◆ element_type

typedef Complex Array< Complex , Alloc >::element_type
inherited

Definition at line 229 of file Array.h.

◆ real_column_vector_type

Definition at line 49 of file CMatrix.h.

◆ real_diag_matrix_type

Definition at line 55 of file CMatrix.h.

◆ real_elt_type

Definition at line 58 of file CMatrix.h.

◆ real_matrix_type

Definition at line 52 of file CMatrix.h.

◆ real_row_vector_type

Definition at line 50 of file CMatrix.h.

◆ row_vector_type

Definition at line 47 of file CMatrix.h.

◆ size_type

typedef octave_idx_type Array< Complex , Alloc >::size_type
inherited

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

Definition at line 235 of file Array.h.

◆ solve_singularity_handler

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

Definition at line 61 of file CMatrix.h.

◆ value_type

typedef Complex Array< Complex , Alloc >::value_type
inherited

Definition at line 231 of file Array.h.

Constructor & Destructor Documentation

◆ ComplexMatrix() [1/22]

ComplexMatrix::ComplexMatrix ( void  )
default

◆ ComplexMatrix() [2/22]

ComplexMatrix::ComplexMatrix ( const ComplexMatrix a)
default

◆ ~ComplexMatrix()

ComplexMatrix::~ComplexMatrix ( void  )
default

◆ ComplexMatrix() [3/22]

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

Definition at line 71 of file CMatrix.h.

◆ ComplexMatrix() [4/22]

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

Definition at line 74 of file CMatrix.h.

◆ ComplexMatrix() [5/22]

ComplexMatrix::ComplexMatrix ( const dim_vector dv)
inline

Definition at line 77 of file CMatrix.h.

◆ ComplexMatrix() [6/22]

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

Definition at line 79 of file CMatrix.h.

◆ ComplexMatrix() [7/22]

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

Definition at line 83 of file CMatrix.h.

◆ ComplexMatrix() [8/22]

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

Definition at line 86 of file CMatrix.h.

◆ ComplexMatrix() [9/22]

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

◆ ComplexMatrix() [10/22]

ComplexMatrix::ComplexMatrix ( const Matrix a)
explicit

Definition at line 71 of file CMatrix.cc.

◆ ComplexMatrix() [11/22]

ComplexMatrix::ComplexMatrix ( const RowVector rv)
explicit

Definition at line 75 of file CMatrix.cc.

◆ ComplexMatrix() [12/22]

ComplexMatrix::ComplexMatrix ( const ColumnVector cv)
explicit

Definition at line 79 of file CMatrix.cc.

◆ ComplexMatrix() [13/22]

ComplexMatrix::ComplexMatrix ( const DiagMatrix a)
explicit

◆ ComplexMatrix() [14/22]

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

◆ ComplexMatrix() [15/22]

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

◆ ComplexMatrix() [16/22]

ComplexMatrix::ComplexMatrix ( const ComplexRowVector rv)
explicit

Definition at line 104 of file CMatrix.cc.

◆ ComplexMatrix() [17/22]

ComplexMatrix::ComplexMatrix ( const ComplexColumnVector cv)
explicit

Definition at line 108 of file CMatrix.cc.

◆ ComplexMatrix() [18/22]

ComplexMatrix::ComplexMatrix ( const ComplexDiagMatrix a)
explicit

◆ ComplexMatrix() [19/22]

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

◆ ComplexMatrix() [20/22]

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

◆ ComplexMatrix() [21/22]

ComplexMatrix::ComplexMatrix ( const boolMatrix a)
explicit

Definition at line 135 of file CMatrix.cc.

◆ ComplexMatrix() [22/22]

ComplexMatrix::ComplexMatrix ( const charMatrix a)
explicit

Member Function Documentation

◆ abs()

Matrix ComplexMatrix::abs ( void  ) const

Definition at line 2819 of file CMatrix.cc.

References ComplexNDArray::abs().

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

◆ all()

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

Definition at line 2777 of file CMatrix.cc.

References ComplexNDArray::all().

◆ all_elements_are_real()

bool ComplexNDArray::all_elements_are_real ( void  ) const
inherited

◆ all_integers()

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

◆ any()

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

Definition at line 2783 of file CMatrix.cc.

References ComplexNDArray::any().

◆ any_element_is_inf_or_nan()

bool ComplexNDArray::any_element_is_inf_or_nan ( void  ) const
inherited

Definition at line 271 of file CNDArray.cc.

References mx_inline_all_finite().

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

◆ any_element_is_nan()

bool ComplexNDArray::any_element_is_nan ( void  ) const
inherited

◆ append() [1/8]

ComplexMatrix ComplexMatrix::append ( const ColumnVector a) const

◆ append() [2/8]

ComplexMatrix ComplexMatrix::append ( const ComplexColumnVector a) const

◆ append() [3/8]

ComplexMatrix ComplexMatrix::append ( const ComplexDiagMatrix a) const

◆ append() [4/8]

ComplexMatrix ComplexMatrix::append ( const ComplexMatrix a) const

◆ append() [5/8]

ComplexMatrix ComplexMatrix::append ( const ComplexRowVector a) const

◆ append() [6/8]

ComplexMatrix ComplexMatrix::append ( const DiagMatrix a) const

◆ append() [7/8]

ComplexMatrix ComplexMatrix::append ( const Matrix a) const

◆ append() [8/8]

ComplexMatrix ComplexMatrix::append ( const RowVector a) const

◆ as_column()

Array< Complex , Alloc > Array< Complex , Alloc >::as_column ( void  ) const
inlineinherited

Return the array as a column vector.

Definition at line 415 of file Array.h.

◆ as_matrix()

Array< Complex , Alloc > Array< Complex , Alloc >::as_matrix ( void  ) const
inlineinherited

Return the array as a matrix.

Definition at line 435 of file Array.h.

◆ as_row()

Array< Complex , Alloc > Array< Complex , Alloc >::as_row ( void  ) const
inlineinherited

Return the array as a row vector.

Definition at line 425 of file Array.h.

◆ assign() [1/6]

void Array< Complex , Alloc >::assign ( const Array< octave::idx_vector > &  ia,
const Array< Complex , Alloc > &  rhs 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 701 of file Array.h.

◆ assign() [2/6]

void Array< Complex , Alloc >::assign ( const Array< octave::idx_vector > &  ia,
const Array< Complex , Alloc > &  rhs,
const Complex 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 700 of file Array.cc.

◆ assign() [3/6]

void Array< Complex , Alloc >::assign ( const octave::idx_vector i,
const Array< Complex , Alloc > &  rhs 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 687 of file Array.h.

◆ assign() [4/6]

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

Indexed assignment (always with resize & fill).

Definition at line 686 of file Array.cc.

◆ assign() [5/6]

void Array< Complex , Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Array< Complex , Alloc > &  rhs 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 695 of file Array.h.

◆ assign() [6/6]

void Array< Complex , Alloc >::assign ( const octave::idx_vector i,
const octave::idx_vector j,
const Array< Complex , Alloc > &  rhs,
const Complex 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 692 of file Array.cc.

◆ byte_size()

std::size_t Array< Complex , Alloc >::byte_size ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 483 of file Array.h.

◆ cat()

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

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

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

Definition at line 788 of file Array.cc.

◆ changesign()

ComplexNDArray & ComplexNDArray::changesign ( void  )
inlineinherited

Definition at line 156 of file CNDArray.h.

References MArray< T >::changesign().

◆ checkelem() [1/8]

Complex & Array< Complex , Alloc >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inherited

Size of the specified dimension.

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

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

Definition at line 532 of file Array.cc.

◆ checkelem() [2/8]

Array< Complex , Alloc >::crefT Array< Complex , Alloc >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inherited

Size of the specified dimension.

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

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

Definition at line 562 of file Array.cc.

◆ checkelem() [3/8]

Complex & Array< Complex , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
)
inherited

Size of the specified dimension.

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

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

Definition at line 528 of file Array.cc.

◆ checkelem() [4/8]

Array< Complex , Alloc >::crefT Array< Complex , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inherited

Size of the specified dimension.

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

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

Definition at line 557 of file Array.cc.

◆ checkelem() [5/8]

Complex & Array< Complex , Alloc >::checkelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inherited

Size of the specified dimension.

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

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

Definition at line 530 of file Array.cc.

◆ checkelem() [6/8]

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

Size of the specified dimension.

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

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

Definition at line 559 of file Array.cc.

◆ checkelem() [7/8]

Complex & Array< Complex , Alloc >::checkelem ( octave_idx_type  n)
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 526 of file Array.cc.

◆ checkelem() [8/8]

Array< Complex , Alloc >::crefT Array< Complex , Alloc >::checkelem ( octave_idx_type  n) const
inherited

Size of the specified dimension.

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

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

Definition at line 555 of file Array.cc.

◆ clear() [1/3]

void Array< Complex , Alloc >::clear ( const dim_vector dv)
inherited

Definition at line 405 of file Array.cc.

◆ clear() [2/3]

void Array< Complex , Alloc >::clear ( octave_idx_type  r,
octave_idx_type  c 
)
inlineinherited

Definition at line 407 of file Array.h.

◆ clear() [3/3]

void Array< Complex , Alloc >::clear ( void  )
inherited

Definition at line 404 of file Array.cc.

◆ cols()

octave_idx_type Array< Complex , Alloc >::cols ( void  ) const
inlineinherited

Definition at line 457 of file Array.h.

◆ column()

◆ column_is_real_only()

bool ComplexMatrix::column_is_real_only ( octave_idx_type  j) const

Definition at line 2862 of file CMatrix.cc.

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

Referenced by column_max(), and column_min().

◆ column_max() [1/2]

◆ column_max() [2/2]

ComplexRowVector ComplexMatrix::column_max ( void  ) const

Definition at line 3106 of file CMatrix.cc.

References column_max().

Referenced by column_max().

◆ column_min() [1/2]

◆ column_min() [2/2]

ComplexRowVector ComplexMatrix::column_min ( void  ) const

Definition at line 3031 of file CMatrix.cc.

References column_min().

Referenced by column_min().

◆ columns()

octave_idx_type Array< Complex , Alloc >::columns ( void  ) const
inlineinherited

Definition at line 458 of file Array.h.

◆ compute_index() [1/4]

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

Definition at line 578 of file CNDArray.cc.

References compute_index(), and ra_idx.

◆ compute_index() [2/4]

octave_idx_type Array< Complex , Alloc >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited

Size of the specified dimension.

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

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

Definition at line 495 of file Array.cc.

◆ compute_index() [3/4]

octave_idx_type Array< Complex , Alloc >::compute_index ( octave_idx_type  i,
octave_idx_type  j 
) const
inherited

Size of the specified dimension.

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

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

Definition at line 492 of file Array.cc.

◆ compute_index() [4/4]

octave_idx_type Array< Complex , Alloc >::compute_index ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inherited

Size of the specified dimension.

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

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

Definition at line 493 of file Array.cc.

◆ compute_index_unchecked()

octave_idx_type Array< Complex , Alloc >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 497 of file Array.h.

◆ concat() [1/2]

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

Definition at line 400 of file CNDArray.cc.

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

◆ concat() [2/2]

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

Definition at line 409 of file CNDArray.cc.

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

◆ cummax() [1/2]

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

Definition at line 460 of file CNDArray.cc.

References mx_inline_cummax().

◆ cummax() [2/2]

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

Definition at line 454 of file CNDArray.cc.

References mx_inline_cummax().

◆ cummin() [1/2]

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

Definition at line 472 of file CNDArray.cc.

References mx_inline_cummin().

◆ cummin() [2/2]

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

Definition at line 466 of file CNDArray.cc.

References mx_inline_cummin().

◆ cumprod()

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

Definition at line 2789 of file CMatrix.cc.

References ComplexNDArray::cumprod().

◆ cumsum()

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

Definition at line 2795 of file CMatrix.cc.

References ComplexNDArray::cumsum().

◆ data()

const Complex * Array< Complex , Alloc >::data ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 616 of file Array.h.

◆ delete_elements() [1/3]

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

Dispatcher to the above two.

Definition at line 717 of file Array.cc.

◆ delete_elements() [2/3]

void Array< Complex , Alloc >::delete_elements ( const octave::idx_vector i)
inherited

Deleting elements.

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

Definition at line 711 of file Array.cc.

◆ delete_elements() [3/3]

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

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

Definition at line 714 of file Array.cc.

◆ determinant() [1/4]

◆ determinant() [2/4]

ComplexDET ComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1174 of file CMatrix.cc.

References determinant().

◆ determinant() [3/4]

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

Definition at line 1181 of file CMatrix.cc.

References determinant().

◆ determinant() [4/4]

ComplexDET ComplexMatrix::determinant ( void  ) const

Definition at line 1166 of file CMatrix.cc.

References determinant().

Referenced by determinant(), and Fdet().

◆ diag() [1/2]

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

Definition at line 2825 of file CMatrix.cc.

References ComplexNDArray::diag().

Referenced by octave_complex_matrix::diag().

◆ diag() [2/2]

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

◆ diff()

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

Definition at line 394 of file CNDArray.cc.

References mx_inline_diff().

Referenced by do_diff().

◆ dim1()

octave_idx_type Array< Complex , Alloc >::dim1 ( void  ) const
inlineinherited

Definition at line 448 of file Array.h.

◆ dim2()

octave_idx_type Array< Complex , Alloc >::dim2 ( void  ) const
inlineinherited

Definition at line 456 of file Array.h.

◆ dim3()

octave_idx_type Array< Complex , Alloc >::dim3 ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 465 of file Array.h.

◆ dims()

const dim_vector & Array< Complex , Alloc >::dims ( void  ) const
inlineinherited

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

Definition at line 487 of file Array.h.

◆ elem() [1/8]

Complex & Array< Complex , Alloc >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 545 of file Array.h.

◆ elem() [2/8]

crefT Array< Complex , Alloc >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 572 of file Array.h.

◆ elem() [3/8]

Complex & Array< Complex , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 540 of file Array.h.

◆ elem() [4/8]

crefT Array< Complex , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 566 of file Array.h.

◆ elem() [5/8]

Complex & Array< Complex , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 542 of file Array.h.

◆ elem() [6/8]

crefT Array< Complex , Alloc >::elem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 569 of file Array.h.

◆ elem() [7/8]

Complex & Array< Complex , Alloc >::elem ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 534 of file Array.h.

◆ elem() [8/8]

crefT Array< Complex , Alloc >::elem ( octave_idx_type  n) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 564 of file Array.h.

◆ extract()

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

Definition at line 683 of file CMatrix.cc.

References Array< Complex >::index().

Referenced by Fdlmread(), and pseudo_inverse().

◆ extract_n()

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

Definition at line 693 of file CMatrix.cc.

References Array< Complex >::index().

◆ fill() [1/5]

void Array< Complex , Alloc >::fill ( const Complex val)
inherited

Definition at line 402 of file Array.cc.

◆ fill() [2/5]

ComplexMatrix & ComplexMatrix::fill ( const Complex val)

◆ fill() [3/5]

◆ fill() [4/5]

ComplexMatrix & ComplexMatrix::fill ( double  val)

◆ fill() [5/5]

◆ find() [1/2]

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

Find indices of (at most n) nonzero elements.

If n is specified, backward specifies search from backward.

Definition at line 769 of file Array.cc.

◆ find() [2/2]

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

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

◆ finverse()

◆ fortran_vec()

Complex * Array< Complex , Alloc >::fortran_vec ( void  )
inherited

Size of the specified dimension.

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

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

Definition at line 623 of file Array.cc.

◆ fourier() [1/2]

◆ fourier() [2/2]

◆ fourier2d()

◆ fourierNd()

ComplexNDArray ComplexNDArray::fourierNd ( void  ) const
inherited

◆ fsolve()

◆ hermitian() [1/2]

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

Definition at line 102 of file MArray.h.

◆ hermitian() [2/2]

◆ idx_add() [1/2]

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

Performs indexed accumulative addition.

Definition at line 107 of file MArray.cc.

◆ idx_add() [2/2]

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

Definition at line 109 of file MArray.cc.

◆ idx_add_nd()

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

Definition at line 119 of file MArray.cc.

◆ idx_max()

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

Definition at line 116 of file MArray.cc.

◆ idx_min()

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

Definition at line 113 of file MArray.cc.

◆ ifourier() [1/2]

◆ ifourier() [2/2]

◆ ifourier2d()

◆ ifourierNd()

ComplexNDArray ComplexNDArray::ifourierNd ( void  ) const
inherited

◆ increment_index()

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

◆ index() [1/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const Array< octave::idx_vector > &  ia) const
inherited

Size of the specified dimension.

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

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

Definition at line 635 of file Array.cc.

◆ index() [2/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const Array< octave::idx_vector > &  ia,
bool  resize_ok 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 678 of file Array.h.

◆ index() [3/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const Array< octave::idx_vector > &  ia,
bool  resize_ok,
const Complex 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 676 of file Array.cc.

◆ index() [4/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const octave::idx_vector i) const
inherited

Indexing without resizing.

Definition at line 631 of file Array.cc.

◆ index() [5/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const octave::idx_vector i,
bool  resize_ok 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 662 of file Array.h.

◆ index() [6/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const octave::idx_vector i,
bool  resize_ok,
const Complex rfv 
) const
inherited

Indexing with possible resizing and fill.

Definition at line 661 of file Array.cc.

◆ index() [7/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j 
) const
inherited

Size of the specified dimension.

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

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

Definition at line 633 of file Array.cc.

◆ index() [8/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 670 of file Array.h.

◆ index() [9/9]

Array< Complex , Alloc > Array< Complex , Alloc >::index ( const octave::idx_vector i,
const octave::idx_vector j,
bool  resize_ok,
const Complex 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 667 of file Array.cc.

◆ insert() [1/13]

Array< Complex , Alloc > & Array< Complex , Alloc >::insert ( const Array< Complex , Alloc > &  a,
const Array< octave_idx_type > &  idx 
)
inherited

Insert an array into another at a specified position.

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

Definition at line 724 of file Array.cc.

◆ insert() [2/13]

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

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

Definition at line 727 of file Array.cc.

◆ insert() [3/13]

◆ insert() [4/13]

◆ insert() [5/13]

◆ insert() [6/13]

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

Definition at line 280 of file CMatrix.cc.

References ComplexNDArray::insert().

◆ insert() [7/13]

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

Definition at line 562 of file CNDArray.cc.

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

◆ insert() [8/13]

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

Definition at line 554 of file CNDArray.cc.

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

◆ insert() [9/13]

◆ insert() [10/13]

◆ insert() [11/13]

◆ insert() [12/13]

◆ insert() [13/13]

◆ instantiation_guard() [1/9]

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

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

◆ instantiation_guard() [2/9]

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

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

◆ instantiation_guard() [3/9]

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

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

◆ instantiation_guard() [4/9]

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

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

◆ instantiation_guard() [5/9]

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

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

◆ instantiation_guard() [6/9]

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

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

◆ instantiation_guard() [7/9]

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

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

◆ instantiation_guard() [8/9]

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

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

◆ instantiation_guard() [9/9]

void MArray< Complex >::instantiation_guard
staticprivateinherited

Definition at line 125 of file MArray.cc.

◆ inverse() [1/6]

ComplexMatrix ComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 762 of file CMatrix.cc.

References inverse().

◆ inverse() [2/6]

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

Definition at line 770 of file CMatrix.cc.

References inverse().

◆ inverse() [3/6]

◆ inverse() [4/6]

ComplexMatrix ComplexMatrix::inverse ( octave_idx_type info) const

Definition at line 746 of file CMatrix.cc.

References inverse().

◆ inverse() [5/6]

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

Definition at line 754 of file CMatrix.cc.

References inverse().

◆ inverse() [6/6]

ComplexMatrix ComplexMatrix::inverse ( void  ) const

Definition at line 737 of file CMatrix.cc.

References inverse().

Referenced by Finv(), inverse(), and xpow().

◆ ipermute()

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

Definition at line 94 of file MArray.h.

◆ is_nd_vector()

bool Array< Complex , Alloc >::is_nd_vector ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 611 of file Array.h.

◆ is_shared()

bool Array< Complex , Alloc >::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 625 of file Array.h.

◆ is_sorted_rows() [1/2]

sortmode Array< Complex , Alloc >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 753 of file Array.cc.

◆ is_sorted_rows() [2/2]

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

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

◆ isempty()

bool Array< Complex , Alloc >::isempty ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 607 of file Array.h.

◆ isfinite()

boolNDArray ComplexNDArray::isfinite ( void  ) const
inherited

Definition at line 496 of file CNDArray.cc.

◆ ishermitian()

bool ComplexMatrix::ishermitian ( void  ) const

Definition at line 174 of file CMatrix.cc.

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

◆ isinf()

boolNDArray ComplexNDArray::isinf ( void  ) const
inherited

Definition at line 490 of file CNDArray.cc.

◆ isnan()

boolNDArray ComplexNDArray::isnan ( void  ) const
inherited

Definition at line 484 of file CNDArray.cc.

◆ issorted() [1/2]

sortmode Array< Complex , Alloc >::issorted ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 747 of file Array.cc.

◆ issorted() [2/2]

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

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

◆ issquare()

bool Array< Complex , Alloc >::issquare ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 605 of file Array.h.

◆ isvector()

bool Array< Complex , Alloc >::isvector ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 609 of file Array.h.

◆ linear_slice()

Array< Complex , Alloc > Array< Complex , Alloc >::linear_slice ( octave_idx_type  lo,
octave_idx_type  up 
) const
inherited

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

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

Definition at line 593 of file Array.cc.

◆ lookup() [1/4]

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

Ditto, but for an array of values, specializing on the case when values are sorted.

NaNs get the value N.

Definition at line 761 of file Array.cc.

◆ lookup() [2/4]

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

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

◆ lookup() [3/4]

octave_idx_type Array< Complex , Alloc >::lookup ( const Complex 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 757 of file Array.cc.

◆ lookup() [4/4]

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

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

◆ lssolve() [1/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ColumnVector b) const

Definition at line 2440 of file CMatrix.cc.

References lssolve().

◆ lssolve() [2/16]

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

Definition at line 2449 of file CMatrix.cc.

References lssolve().

◆ lssolve() [3/16]

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

Definition at line 2457 of file CMatrix.cc.

References lssolve().

◆ lssolve() [4/16]

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

Definition at line 2465 of file CMatrix.cc.

References lssolve().

◆ lssolve() [5/16]

ComplexColumnVector ComplexMatrix::lssolve ( const ComplexColumnVector b) const

Definition at line 2472 of file CMatrix.cc.

References lssolve().

◆ lssolve() [6/16]

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

Definition at line 2481 of file CMatrix.cc.

References lssolve().

◆ lssolve() [7/16]

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

Definition at line 2490 of file CMatrix.cc.

References lssolve().

◆ lssolve() [8/16]

◆ lssolve() [9/16]

ComplexMatrix ComplexMatrix::lssolve ( const ComplexMatrix b) const

Definition at line 2247 of file CMatrix.cc.

References lssolve().

◆ lssolve() [10/16]

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

Definition at line 2256 of file CMatrix.cc.

References lssolve().

◆ lssolve() [11/16]

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

Definition at line 2264 of file CMatrix.cc.

References lssolve().

◆ lssolve() [12/16]

◆ lssolve() [13/16]

ComplexMatrix ComplexMatrix::lssolve ( const Matrix b) const

Definition at line 2215 of file CMatrix.cc.

References lssolve().

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

◆ lssolve() [14/16]

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

Definition at line 2224 of file CMatrix.cc.

References lssolve().

◆ lssolve() [15/16]

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

Definition at line 2232 of file CMatrix.cc.

References lssolve().

◆ lssolve() [16/16]

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

Definition at line 2240 of file CMatrix.cc.

References lssolve().

◆ ltsolve()

◆ make_unique()

void Array< Complex , Alloc >::make_unique ( void  )
inlineinherited

Definition at line 215 of file Array.h.

◆ map() [1/3]

Array< U, A > Array< Complex , Alloc >::map ( F  fcn) const
inlineinherited

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

This function is optimized with a manually unrolled loop.

Definition at line 799 of file Array.h.

◆ map() [2/3]

Array< U, A > Array< Complex , Alloc >::map ( U(&)(Complex fcn) const
inlineinherited

Overloads for function references.

Definition at line 835 of file Array.h.

◆ map() [3/3]

Array< U, A > Array< Complex , Alloc >::map ( U(&)(const Complex &)  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 844 of file Array.h.

◆ max() [1/2]

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

Definition at line 436 of file CNDArray.cc.

References mx_inline_max().

◆ max() [2/2]

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

Definition at line 430 of file CNDArray.cc.

References mx_inline_max().

◆ maybe_economize()

void Array< Complex , Alloc >::maybe_economize ( void  )
inlineinherited

Size of the specified dimension.

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

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

Definition at line 729 of file Array.h.

◆ min() [1/2]

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

Definition at line 448 of file CNDArray.cc.

References mx_inline_min().

◆ min() [2/2]

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

Definition at line 442 of file CNDArray.cc.

References mx_inline_min().

◆ ndims()

int Array< Complex , Alloc >::ndims ( 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 627 of file Array.h.

◆ nil_rep()

Array< Complex , Alloc >::ArrayRep * Array< Complex , Alloc >::nil_rep ( void  )
staticprivateinherited

Definition at line 269 of file Array.cc.

◆ nnz() [1/2]

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

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

◆ nnz() [2/2]

octave_idx_type Array< Complex , Alloc >::nnz ( void  ) const
inherited

Count nonzero elements.

Definition at line 765 of file Array.cc.

◆ nth_element() [1/2]

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

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

◆ nth_element() [2/2]

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

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

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

Definition at line 775 of file Array.cc.

◆ numel()

octave_idx_type Array< Complex , Alloc >::numel ( void  ) const
inlineinherited

Number of elements in the array.

Definition at line 411 of file Array.h.

◆ operator!()

boolNDArray ComplexNDArray::operator! ( void  ) const
inherited

◆ operator!=()

Definition at line 168 of file CMatrix.cc.

◆ operator()() [1/8]

Complex & Array< Complex , Alloc >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 552 of file Array.h.

◆ operator()() [2/8]

crefT Array< Complex , Alloc >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 581 of file Array.h.

◆ operator()() [3/8]

Complex & Array< Complex , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 549 of file Array.h.

◆ operator()() [4/8]

crefT Array< Complex , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 576 of file Array.h.

◆ operator()() [5/8]

Complex & Array< Complex , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 550 of file Array.h.

◆ operator()() [6/8]

crefT Array< Complex , Alloc >::operator() ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 578 of file Array.h.

◆ operator()() [7/8]

Complex & Array< Complex , Alloc >::operator() ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 548 of file Array.h.

◆ operator()() [8/8]

crefT Array< Complex , Alloc >::operator() ( octave_idx_type  n) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 575 of file Array.h.

◆ operator+=() [1/3]

◆ operator+=() [2/3]

◆ operator+=() [3/3]

◆ operator-=() [1/3]

◆ operator-=() [2/3]

◆ operator-=() [3/3]

◆ operator=()

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

◆ operator==()

◆ optimize_dimensions()

bool Array< Complex , Alloc >::optimize_dimensions ( const dim_vector dv)
inherited

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

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

Definition at line 886 of file Array.cc.

◆ page()

Array< Complex , Alloc > Array< Complex , Alloc >::page ( octave_idx_type  k) const
inherited

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

Definition at line 589 of file Array.cc.

◆ pages()

octave_idx_type Array< Complex , Alloc >::pages ( void  ) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 466 of file Array.h.

◆ permute()

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

Definition at line 90 of file MArray.h.

◆ print_info()

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

Size of the specified dimension.

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

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

Definition at line 740 of file Array.cc.

◆ prod()

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

Definition at line 2801 of file CMatrix.cc.

References ComplexNDArray::prod().

◆ pseudo_inverse()

◆ rcond() [1/2]

◆ rcond() [2/2]

double ComplexMatrix::rcond ( void  ) const

Definition at line 1345 of file CMatrix.cc.

References rcond().

Referenced by Frcond(), and rcond().

◆ reshape() [1/2]

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

Definition at line 87 of file MArray.h.

◆ reshape() [2/2]

Array< Complex , Alloc > Array< Complex , Alloc >::reshape ( octave_idx_type  nr,
octave_idx_type  nc 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 595 of file Array.h.

◆ resize() [1/3]

void Array< Complex , Alloc >::resize ( const dim_vector dv)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 652 of file Array.h.

◆ resize() [2/3]

void Array< Complex , Alloc >::resize ( const dim_vector dv,
const Complex 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 651 of file Array.cc.

◆ resize() [3/3]

◆ resize1() [1/2]

void Array< Complex , Alloc >::resize1 ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 649 of file Array.h.

◆ resize1() [2/2]

void Array< Complex , Alloc >::resize1 ( octave_idx_type  n,
const Complex 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 648 of file Array.cc.

◆ resize2() [1/2]

void Array< Complex , Alloc >::resize2 ( octave_idx_type  nr,
octave_idx_type  nc 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 643 of file Array.h.

◆ resize2() [2/2]

void Array< Complex , Alloc >::resize2 ( octave_idx_type  nr,
octave_idx_type  nc,
const Complex rfv 
)
inherited

Resizing (with fill).

Definition at line 642 of file Array.cc.

◆ resize_fill_value()

Complex Array< Complex , Alloc >::resize_fill_value ( void  ) const
virtualinherited

Size of the specified dimension.

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

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

Definition at line 638 of file Array.cc.

◆ row()

ComplexRowVector ComplexMatrix::row ( octave_idx_type  i) const

Definition at line 702 of file CMatrix.cc.

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

◆ row_is_real_only()

bool ComplexMatrix::row_is_real_only ( octave_idx_type  i) const

Definition at line 2843 of file CMatrix.cc.

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

Referenced by row_max(), and row_min().

◆ row_max() [1/2]

◆ row_max() [2/2]

ComplexColumnVector ComplexMatrix::row_max ( void  ) const

Definition at line 2956 of file CMatrix.cc.

References row_max().

Referenced by row_max().

◆ row_min() [1/2]

◆ row_min() [2/2]

ComplexColumnVector ComplexMatrix::row_min ( void  ) const

Definition at line 2881 of file CMatrix.cc.

References row_min().

Referenced by row_min().

◆ rows()

octave_idx_type Array< Complex , Alloc >::rows ( void  ) const
inlineinherited

Definition at line 449 of file Array.h.

◆ size()

size_type Array< Complex , Alloc >::size ( const size_type  d) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 476 of file Array.h.

◆ solve() [1/32]

ComplexColumnVector ComplexMatrix::solve ( const ColumnVector b) const

Definition at line 2152 of file CMatrix.cc.

References solve().

◆ solve() [2/32]

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

Definition at line 2160 of file CMatrix.cc.

References solve().

◆ solve() [3/32]

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

Definition at line 2167 of file CMatrix.cc.

References solve().

◆ solve() [4/32]

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

Definition at line 2174 of file CMatrix.cc.

References solve().

◆ solve() [5/32]

ComplexColumnVector ComplexMatrix::solve ( const ComplexColumnVector b) const

Definition at line 2183 of file CMatrix.cc.

References solve().

◆ solve() [6/32]

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

Definition at line 2191 of file CMatrix.cc.

References solve().

◆ solve() [7/32]

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

Definition at line 2198 of file CMatrix.cc.

References solve().

◆ solve() [8/32]

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

Definition at line 2205 of file CMatrix.cc.

References solve().

◆ solve() [9/32]

ComplexMatrix ComplexMatrix::solve ( const ComplexMatrix b) const

Definition at line 2120 of file CMatrix.cc.

References solve().

◆ solve() [10/32]

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

Definition at line 2128 of file CMatrix.cc.

References solve().

◆ solve() [11/32]

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

Definition at line 2135 of file CMatrix.cc.

References solve().

◆ solve() [12/32]

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

Definition at line 2142 of file CMatrix.cc.

References solve().

◆ solve() [13/32]

ComplexMatrix ComplexMatrix::solve ( const Matrix b) const

Definition at line 2089 of file CMatrix.cc.

References solve().

◆ solve() [14/32]

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

Definition at line 2097 of file CMatrix.cc.

References solve().

◆ solve() [15/32]

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

Definition at line 2104 of file CMatrix.cc.

References solve().

◆ solve() [16/32]

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

Definition at line 2111 of file CMatrix.cc.

References solve().

◆ solve() [17/32]

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

Definition at line 2021 of file CMatrix.cc.

References solve().

◆ solve() [18/32]

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

Definition at line 2029 of file CMatrix.cc.

References solve().

◆ solve() [19/32]

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

Definition at line 2037 of file CMatrix.cc.

References solve().

◆ solve() [20/32]

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

Definition at line 2044 of file CMatrix.cc.

References solve().

◆ solve() [21/32]

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

Definition at line 2054 of file CMatrix.cc.

References solve().

◆ solve() [22/32]

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

Definition at line 2062 of file CMatrix.cc.

References solve().

◆ solve() [23/32]

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

Definition at line 2070 of file CMatrix.cc.

References solve().

◆ solve() [24/32]

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

Definition at line 2077 of file CMatrix.cc.

References column(), and solve().

◆ solve() [25/32]

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

Definition at line 1960 of file CMatrix.cc.

References solve().

◆ solve() [26/32]

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

Definition at line 1968 of file CMatrix.cc.

References solve().

◆ solve() [27/32]

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

Definition at line 1976 of file CMatrix.cc.

References solve().

◆ solve() [28/32]

◆ solve() [29/32]

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

Definition at line 1926 of file CMatrix.cc.

References solve().

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

◆ solve() [30/32]

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

Definition at line 1934 of file CMatrix.cc.

References solve().

◆ solve() [31/32]

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

Definition at line 1942 of file CMatrix.cc.

References solve().

◆ solve() [32/32]

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

Definition at line 1949 of file CMatrix.cc.

References solve().

◆ sort() [1/4]

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

Size of the specified dimension.

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

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

Definition at line 743 of file Array.cc.

◆ sort() [2/4]

OCTAVE_API Array< octave::idx_vector > Array< octave::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]

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

Size of the specified dimension.

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

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

Definition at line 742 of file Array.cc.

◆ sort() [4/4]

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

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

◆ sort_rows_idx() [1/2]

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

Sort by rows returns only indices.

Definition at line 750 of file Array.cc.

◆ sort_rows_idx() [2/2]

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

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

◆ squeeze()

ComplexNDArray ComplexNDArray::squeeze ( void  ) const
inlineinherited

Definition at line 131 of file CNDArray.h.

References MArray< T >::squeeze().

◆ stack() [1/8]

ComplexMatrix ComplexMatrix::stack ( const ColumnVector a) const

◆ stack() [2/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexColumnVector a) const

◆ stack() [3/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexDiagMatrix a) const

◆ stack() [4/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexMatrix a) const

◆ stack() [5/8]

ComplexMatrix ComplexMatrix::stack ( const ComplexRowVector a) const

◆ stack() [6/8]

ComplexMatrix ComplexMatrix::stack ( const DiagMatrix a) const

◆ stack() [7/8]

ComplexMatrix ComplexMatrix::stack ( const Matrix a) const

◆ stack() [8/8]

ComplexMatrix ComplexMatrix::stack ( const RowVector a) const

◆ sum()

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

Definition at line 2807 of file CMatrix.cc.

References ComplexNDArray::sum().

◆ sumsq()

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

Definition at line 2813 of file CMatrix.cc.

References ComplexNDArray::sumsq().

◆ test()

bool Array< Complex , Alloc >::test ( F  fcn) const
inlineinherited

Generic any/all test functionality with arbitrary predicate.

Definition at line 850 of file Array.h.

◆ test_all() [1/3]

bool Array< Complex , Alloc >::test_all ( bool(&)(Complex 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 874 of file Array.h.

◆ test_all() [2/3]

bool Array< Complex , Alloc >::test_all ( bool(&)(const Complex &)  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 877 of file Array.h.

◆ test_all() [3/3]

bool Array< Complex , Alloc >::test_all ( F  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 862 of file Array.h.

◆ test_any() [1/3]

bool Array< Complex , Alloc >::test_any ( bool(&)(Complex fcn) const
inlineinherited

Overloads for function references.

Definition at line 868 of file Array.h.

◆ test_any() [2/3]

bool Array< Complex , Alloc >::test_any ( bool(&)(const Complex &)  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 871 of file Array.h.

◆ test_any() [3/3]

bool Array< Complex , Alloc >::test_any ( F  fcn) const
inlineinherited

Simpler calls.

Definition at line 858 of file Array.h.

◆ tinverse()

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

◆ too_large_for_float()

bool ComplexNDArray::too_large_for_float ( void  ) const
inherited

◆ transpose()

ComplexMatrix ComplexMatrix::transpose ( void  ) const
inline

Definition at line 172 of file CMatrix.h.

References MArray< T >::transpose().

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

◆ utsolve()

◆ xelem() [1/8]

Complex & Array< Complex , Alloc >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 517 of file Array.h.

◆ xelem() [2/8]

crefT Array< Complex , Alloc >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 520 of file Array.h.

◆ xelem() [3/8]

Complex & Array< Complex , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 507 of file Array.h.

◆ xelem() [4/8]

crefT Array< Complex , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 509 of file Array.h.

◆ xelem() [5/8]

Complex & Array< Complex , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 512 of file Array.h.

◆ xelem() [6/8]

crefT Array< Complex , Alloc >::xelem ( octave_idx_type  i,
octave_idx_type  j,
octave_idx_type  k 
) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 514 of file Array.h.

◆ xelem() [7/8]

Complex & Array< Complex , Alloc >::xelem ( octave_idx_type  n)
inlineinherited

Size of the specified dimension.

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

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

Definition at line 504 of file Array.h.

◆ xelem() [8/8]

crefT Array< Complex , Alloc >::xelem ( octave_idx_type  n) const
inlineinherited

Size of the specified dimension.

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

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

Definition at line 505 of file Array.h.

◆ xsum()

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

Definition at line 382 of file CNDArray.cc.

References mx_inline_xsum().

Referenced by Fsum().

Friends And Related Function Documentation

◆ conj

OCTAVE_API ComplexMatrix conj ( const ComplexMatrix a)
friend

Definition at line 675 of file CMatrix.cc.

Referenced by conj().

◆ operator<<

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

Definition at line 3182 of file CMatrix.cc.

◆ operator>>

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

Definition at line 3198 of file CMatrix.cc.

Member Data Documentation

◆ m_dimensions

dim_vector Array< Complex , Alloc >::m_dimensions
protectedinherited

Definition at line 244 of file Array.h.

◆ m_rep

Array<Complex ,Alloc>::ArrayRep* Array< Complex , Alloc >::m_rep
protectedinherited

Definition at line 246 of file Array.h.

◆ m_slice_data

Complex * Array< Complex , Alloc >::m_slice_data
protectedinherited

Definition at line 255 of file Array.h.

◆ m_slice_len

octave_idx_type Array< Complex , Alloc >::m_slice_len
protectedinherited

Definition at line 256 of file Array.h.


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