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

#include "fCMatrix.h"

Inheritance diagram for FloatComplexMatrix:
Collaboration diagram for FloatComplexMatrix:

Public Types

typedef FloatComplexColumnVector column_vector_type
 
typedef bool(* compare_fcn_type) (typename ref_param< FloatComplex >::type, typename ref_param< FloatComplex >::type)
 
typedef FloatComplexDiagMatrix complex_diag_matrix_type
 
typedef FloatComplex complex_elt_type
 
typedef FloatComplexMatrix complex_matrix_type
 
typedef ref_param< FloatComplex >::type crefT
 
typedef FloatComplex element_type
 
typedef FloatColumnVector real_column_vector_type
 
typedef FloatDiagMatrix real_diag_matrix_type
 
typedef float real_elt_type
 
typedef FloatMatrix real_matrix_type
 
typedef FloatRowVector real_row_vector_type
 
typedef FloatComplexRowVector row_vector_type
 
typedef octave_idx_type size_type
 Used for operator(), and returned by numel() and size() (beware: signed integer) More...
 
typedef void(* solve_singularity_handler) (float rcon)
 
typedef FloatComplex value_type
 

Public Member Functions

 FloatComplexMatrix (void)
 
 FloatComplexMatrix (octave_idx_type r, octave_idx_type c)
 
 FloatComplexMatrix (octave_idx_type r, octave_idx_type c, const FloatComplex &val)
 
 FloatComplexMatrix (const dim_vector &dv)
 
 FloatComplexMatrix (const dim_vector &dv, const FloatComplex &val)
 
 FloatComplexMatrix (const FloatComplexMatrix &a)
 
template<typename U >
 FloatComplexMatrix (const MArray< U > &a)
 
template<typename U >
 FloatComplexMatrix (const Array< U > &a)
 
 FloatComplexMatrix (const FloatMatrix &a)
 
 FloatComplexMatrix (const FloatRowVector &rv)
 
 FloatComplexMatrix (const FloatColumnVector &cv)
 
 FloatComplexMatrix (const FloatDiagMatrix &a)
 
 FloatComplexMatrix (const MDiagArray2< float > &a)
 
 FloatComplexMatrix (const DiagArray2< float > &a)
 
 FloatComplexMatrix (const FloatComplexRowVector &rv)
 
 FloatComplexMatrix (const FloatComplexColumnVector &cv)
 
 FloatComplexMatrix (const FloatComplexDiagMatrix &a)
 
 FloatComplexMatrix (const MDiagArray2< FloatComplex > &a)
 
 FloatComplexMatrix (const DiagArray2< FloatComplex > &a)
 
 FloatComplexMatrix (const boolMatrix &a)
 
 FloatComplexMatrix (const charMatrix &a)
 
 FloatComplexMatrix (const FloatMatrix &re, const FloatMatrix &im)
 
FloatMatrix abs (void) const
 
boolMatrix all (int dim=-1) const
 
bool all_elements_are_real (void) const
 
bool all_integers (float &max_val, float &min_val) const
 
boolMatrix any (int dim=-1) const
 
bool any_element_is_inf_or_nan (void) const
 
bool any_element_is_nan (void) const
 
FloatComplexMatrix append (const FloatMatrix &a) const
 
FloatComplexMatrix append (const FloatRowVector &a) const
 
FloatComplexMatrix append (const FloatColumnVector &a) const
 
FloatComplexMatrix append (const FloatDiagMatrix &a) const
 
FloatComplexMatrix append (const FloatComplexMatrix &a) const
 
FloatComplexMatrix append (const FloatComplexRowVector &a) const
 
FloatComplexMatrix append (const FloatComplexColumnVector &a) const
 
FloatComplexMatrix append (const FloatComplexDiagMatrix &a) const
 
Array< FloatComplexas_column (void) const
 Return the array as a column vector. More...
 
Array< FloatComplexas_matrix (void) const
 Return the array as a matrix. More...
 
Array< FloatComplexas_row (void) const
 Return the array as a row vector. More...
 
size_t byte_size (void) const
 
FloatComplexNDArraychangesign (void)
 
FloatComplexcheckelem (octave_idx_type n)
 
FloatComplexcheckelem (octave_idx_type i, octave_idx_type j)
 
FloatComplexcheckelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 
FloatComplexcheckelem (const Array< octave_idx_type > &ra_idx)
 
crefT checkelem (octave_idx_type n) const
 
crefT checkelem (octave_idx_type i, octave_idx_type j) const
 
crefT checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 
crefT checkelem (const Array< octave_idx_type > &ra_idx) const
 
void clear (void)
 
void clear (const dim_vector &dv)
 
void clear (octave_idx_type r, octave_idx_type c)
 
FloatComplexColumnVector column (octave_idx_type i) const
 
bool column_is_real_only (octave_idx_type) const
 
FloatComplexRowVector column_max (void) const
 
FloatComplexRowVector column_max (Array< octave_idx_type > &index) const
 
FloatComplexRowVector column_min (void) const
 
FloatComplexRowVector column_min (Array< octave_idx_type > &index) const
 
octave_idx_type compute_index (octave_idx_type i, octave_idx_type j) const
 
octave_idx_type compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 
octave_idx_type compute_index (const Array< octave_idx_type > &ra_idx) const
 
octave_idx_type compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const
 
FloatComplexNDArray concat (const FloatComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
 
FloatComplexNDArray concat (const FloatNDArray &rb, const Array< octave_idx_type > &ra_idx)
 
FloatComplexNDArray cummax (int dim=-1) const
 
FloatComplexNDArray cummax (Array< octave_idx_type > &index, int dim=-1) const
 
FloatComplexNDArray cummin (int dim=-1) const
 
FloatComplexNDArray cummin (Array< octave_idx_type > &index, int dim=-1) const
 
FloatComplexMatrix cumprod (int dim=-1) const
 
FloatComplexMatrix cumsum (int dim=-1) const
 
const FloatComplexdata (void) const
 
FloatComplexDET determinant (void) const
 
FloatComplexDET determinant (octave_idx_type &info) const
 
FloatComplexDET determinant (octave_idx_type &info, float &rcon, bool calc_cond=true) const
 
FloatComplexDET determinant (MatrixType &mattype, octave_idx_type &info, float &rcon, bool calc_cond=true) const
 
FloatComplexMatrix diag (octave_idx_type k=0) const
 
FloatComplexDiagMatrix diag (octave_idx_type m, octave_idx_type n) const
 
FloatComplexNDArray diff (octave_idx_type order=1, int dim=-1) const
 
const dim_vectordims (void) const
 Return a const-reference so that dims ()(i) works efficiently. More...
 
ComplexNDArray dprod (int dim=-1) const
 
ComplexNDArray dsum (int dim=-1) const
 
FloatComplexelem (octave_idx_type n)
 
FloatComplexelem (octave_idx_type i, octave_idx_type j)
 
FloatComplexelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 
FloatComplexelem (const Array< octave_idx_type > &ra_idx)
 
crefT elem (octave_idx_type n) const
 
crefT elem (octave_idx_type i, octave_idx_type j) const
 
crefT elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 
crefT elem (const Array< octave_idx_type > &ra_idx) const
 
FloatComplexMatrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
 
FloatComplexMatrix extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const
 
FloatComplexMatrixfill (float val)
 
FloatComplexMatrixfill (const FloatComplex &val)
 
FloatComplexMatrixfill (float val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
FloatComplexMatrixfill (const FloatComplex &val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
Array< octave_idx_typefind (octave_idx_type, bool) const
 
Array< octave_idx_typefind (octave_idx_type n=-1, bool backward=false) const
 Find indices of (at most n) nonzero elements. More...
 
const FloatComplexfortran_vec (void) const
 
FloatComplexfortran_vec (void)
 
FloatComplexNDArray fourier (int dim=1) const
 
FloatComplexMatrix fourier (void) const
 
FloatComplexMatrix fourier2d (void) const
 
FloatComplexNDArray fourierNd (void) const
 
MArray< FloatComplexhermitian (FloatComplex(*fcn)(const FloatComplex &)=nullptr) const
 
FloatComplexMatrix hermitian (void) const
 
void idx_add_nd (const idx_vector &idx, const MArray< FloatComplex > &vals, int dim=-1)
 
void idx_max (const idx_vector &idx, const MArray< FloatComplex > &vals)
 
void idx_min (const idx_vector &idx, const MArray< FloatComplex > &vals)
 
FloatComplexNDArray ifourier (int dim=1) const
 
FloatComplexMatrix ifourier (void) const
 
FloatComplexMatrix ifourier2d (void) const
 
FloatComplexNDArray ifourierNd (void) const
 
FloatComplexNDArrayinsert (const NDArray &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexNDArrayinsert (const FloatComplexNDArray &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexNDArrayinsert (const FloatComplexNDArray &a, const Array< octave_idx_type > &ra_idx)
 
FloatComplexMatrixinsert (const FloatMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatRowVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatColumnVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatDiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexRowVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexColumnVector &a, octave_idx_type r, octave_idx_type c)
 
FloatComplexMatrixinsert (const FloatComplexDiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
Array< FloatComplex > & insert (const Array< FloatComplex > &a, const Array< octave_idx_type > &idx)
 Insert an array into another at a specified position. More...
 
Array< FloatComplex > & insert (const Array< FloatComplex > &a, octave_idx_type r, octave_idx_type c)
 This is just a special case for idx = [r c 0 ...]. More...
 
FloatComplexMatrix inverse (void) const
 
FloatComplexMatrix inverse (octave_idx_type &info) const
 
FloatComplexMatrix inverse (octave_idx_type &info, float &rcon, bool force=false, bool calc_cond=true) const
 
FloatComplexMatrix inverse (MatrixType &mattype) const
 
FloatComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info) const
 
FloatComplexMatrix inverse (MatrixType &mattype, octave_idx_type &info, float &rcon, bool force=false, bool calc_cond=true) const
 
MArray< FloatComplexipermute (const Array< octave_idx_type > &vec) const
 
bool is_empty (void) const
 
bool is_hermitian (void) const
 
bool is_nd_vector (void) const
 
bool is_shared (void)
 
sortmode is_sorted (sortmode mode=UNSORTED) const
 
sortmode is_sorted_rows (sortmode) const
 
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
bool is_square (void) const
 
bool is_vector (void) const
 
bool isempty (void) const
 
boolNDArray isfinite (void) const
 
bool ishermitian (void) const
 
boolNDArray isinf (void) const
 
boolNDArray isnan (void) const
 
sortmode issorted (sortmode) const
 
sortmode issorted (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
bool issquare (void) const
 
bool isvector (void) const
 
Array< FloatComplexlinear_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...
 
octave_idx_type lookup (idx_vector const &, sortmode) const
 
Array< octave_idx_typelookup (const Array< idx_vector > &, sortmode) const
 
octave_idx_type lookup (const FloatComplex &value, sortmode mode=UNSORTED) const
 Do a binary lookup in a sorted array. More...
 
Array< octave_idx_typelookup (const Array< FloatComplex > &values, sortmode mode=UNSORTED) const
 Ditto, but for an array of values, specializing on the case when values are sorted. More...
 
FloatComplexMatrix lssolve (const FloatMatrix &b) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexMatrix lssolve (const FloatMatrix &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexMatrix lssolve (const FloatComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexColumnVector lssolve (const FloatColumnVector &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const
 
FloatComplexColumnVector lssolve (const FloatComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const
 
void make_unique (void)
 
Array< U > map (F fcn) const
 Apply function fcn to each element of the Array<T>. More...
 
FloatComplexNDArray max (int dim=-1) const
 
FloatComplexNDArray max (Array< octave_idx_type > &index, int dim=-1) const
 
void maybe_economize (void)
 
void * mex_get_data (void) const
 Give a pointer to the data in mex format. More...
 
FloatComplexNDArray min (int dim=-1) const
 
FloatComplexNDArray min (Array< octave_idx_type > &index, int dim=-1) const
 
int ndims (void) const
 
octave_idx_type nnz (void) const
 
octave_idx_type nnz (void) const
 Count nonzero elements. More...
 
Array< idx_vectornth_element (const idx_vector &, int) const
 
Array< FloatComplexnth_element (const idx_vector &n, int dim=0) const
 Returns the n-th element in increasing order, using the same ordering as used for sort. More...
 
boolMatrix operator! (void) const
 
bool operator!= (const FloatComplexMatrix &a) const
 
FloatComplexoperator() (octave_idx_type n)
 
FloatComplexoperator() (octave_idx_type i, octave_idx_type j)
 
FloatComplexoperator() (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 
FloatComplexoperator() (const Array< octave_idx_type > &ra_idx)
 
crefT operator() (octave_idx_type n) const
 
crefT operator() (octave_idx_type i, octave_idx_type j) const
 
crefT operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 
crefT operator() (const Array< octave_idx_type > &ra_idx) const
 
FloatComplexMatrixoperator+= (const FloatDiagMatrix &a)
 
FloatComplexMatrixoperator+= (const FloatComplexDiagMatrix &a)
 
FloatComplexMatrixoperator+= (const FloatMatrix &a)
 
FloatComplexMatrixoperator-= (const FloatDiagMatrix &a)
 
FloatComplexMatrixoperator-= (const FloatComplexDiagMatrix &a)
 
FloatComplexMatrixoperator-= (const FloatMatrix &a)
 
bool operator== (const FloatComplexMatrix &a) const
 
bool optimize_dimensions (const dim_vector &dv)
 Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv. More...
 
Array< FloatComplexpage (octave_idx_type k) const
 Extract page: A(:,:,k+1). More...
 
MArray< FloatComplexpermute (const Array< octave_idx_type > &vec, bool inv=false) const
 
void print_info (std::ostream &os, const std::string &prefix) const
 
FloatComplexMatrix prod (int dim=-1) const
 
FloatComplexMatrix pseudo_inverse (float tol=0.0) const
 
float rcond (void) const
 
float rcond (MatrixType &mattype) const
 
MArray< FloatComplexreshape (const dim_vector &new_dims) const
 
Array< FloatComplexreshape (octave_idx_type nr, octave_idx_type nc) const
 
void resize (octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv=FloatComplex(0))
 
virtual FloatComplex resize_fill_value (void) const
 
FloatComplexRowVector row (octave_idx_type i) const
 
bool row_is_real_only (octave_idx_type) const
 
FloatComplexColumnVector row_max (void) const
 
FloatComplexColumnVector row_max (Array< octave_idx_type > &index) const
 
FloatComplexColumnVector row_min (void) const
 
FloatComplexColumnVector row_min (Array< octave_idx_type > &index) const
 
size_type size (const size_type d) const
 Size of the specified dimension. More...
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (const FloatMatrix &b) const
 
FloatComplexMatrix solve (const FloatMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (const FloatMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b, octave_idx_type &info) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b, octave_idx_type &info, float &rcon) const
 
FloatComplexMatrix solve (const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (const FloatColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b, octave_idx_type &info) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon) const
 
FloatComplexColumnVector solve (const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const
 
Array< idx_vectorsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
Array< idx_vectorsort (int, sortmode) const
 
Array< FloatComplexsort (int dim=0, sortmode mode=ASCENDING) const
 
Array< FloatComplexsort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
 
Array< octave_idx_typesort_rows_idx (sortmode) const
 
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 Sort by rows returns only indices. More...
 
FloatComplexNDArray squeeze (void) const
 
FloatComplexMatrix stack (const FloatMatrix &a) const
 
FloatComplexMatrix stack (const FloatRowVector &a) const
 
FloatComplexMatrix stack (const FloatColumnVector &a) const
 
FloatComplexMatrix stack (const FloatDiagMatrix &a) const
 
FloatComplexMatrix stack (const FloatComplexMatrix &a) const
 
FloatComplexMatrix stack (const FloatComplexRowVector &a) const
 
FloatComplexMatrix stack (const FloatComplexColumnVector &a) const
 
FloatComplexMatrix stack (const FloatComplexDiagMatrix &a) const
 
FloatComplexMatrix sum (int dim=-1) const
 
FloatComplexMatrix sumsq (int dim=-1) const
 
bool test (F fcn) const
 Generic any/all test functionality with arbitrary predicate. More...
 
bool too_large_for_float (void) const
 
FloatComplexMatrix transpose (void) const
 
FloatComplexxelem (octave_idx_type n)
 
crefT xelem (octave_idx_type n) const
 
FloatComplexxelem (octave_idx_type i, octave_idx_type j)
 
crefT xelem (octave_idx_type i, octave_idx_type j) const
 
FloatComplexxelem (octave_idx_type i, octave_idx_type j, octave_idx_type k)
 
crefT xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const
 
FloatComplexxelem (const Array< octave_idx_type > &ra_idx)
 
crefT xelem (const Array< octave_idx_type > &ra_idx) const
 
void idx_add (const idx_vector &idx, FloatComplex val)
 Performs indexed accumulative addition. More...
 
void idx_add (const idx_vector &idx, const MArray< FloatComplex > &vals)
 Performs indexed accumulative addition. More...
 
octave_idx_type capacity (void) const
 Number of elements in the array. More...
 
octave_idx_type length (void) const
 Number of elements in the array. More...
 
octave_idx_type nelem (void) const
 Number of elements in the array. More...
 
octave_idx_type numel (void) const
 Number of elements in the array. More...
 
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
 
Third dimension

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

octave_idx_type dim3 (void) const
 
octave_idx_type pages (void) const
 
Array< FloatComplexindex (const idx_vector &i) const
 Indexing without resizing. More...
 
Array< FloatComplexindex (const idx_vector &i, const idx_vector &j) const
 Indexing without resizing. More...
 
Array< FloatComplexindex (const Array< idx_vector > &ia) const
 Indexing without resizing. More...
 
Array< FloatComplexindex (const idx_vector &i, bool resize_ok, const FloatComplex &rfv) const
 Indexing with possible resizing and fill. More...
 
Array< FloatComplexindex (const idx_vector &i, bool resize_ok) const
 Indexing with possible resizing and fill. More...
 
Array< FloatComplexindex (const idx_vector &i, const idx_vector &j, bool resize_ok, const FloatComplex &rfv) const
 Indexing with possible resizing and fill. More...
 
Array< FloatComplexindex (const idx_vector &i, const idx_vector &j, bool resize_ok) const
 Indexing with possible resizing and fill. More...
 
Array< FloatComplexindex (const Array< idx_vector > &ia, bool resize_ok, const FloatComplex &rfv) const
 Indexing with possible resizing and fill. More...
 
Array< FloatComplexindex (const Array< idx_vector > &ia, bool resize_ok) const
 Indexing with possible resizing and fill. More...
 
void resize2 (octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv)
 Resizing (with fill). More...
 
void resize2 (octave_idx_type nr, octave_idx_type nc)
 Resizing (with fill). More...
 
void resize1 (octave_idx_type n, const FloatComplex &rfv)
 Resizing (with fill). More...
 
void resize1 (octave_idx_type n)
 Resizing (with fill). More...
 
void resize (const dim_vector &dv, const FloatComplex &rfv)
 Resizing (with fill). More...
 
void resize (const dim_vector &dv)
 Resizing (with fill). More...
 
void assign (const idx_vector &i, const Array< FloatComplex > &rhs, const FloatComplex &rfv)
 Indexed assignment (always with resize & fill). More...
 
void assign (const idx_vector &i, const Array< FloatComplex > &rhs)
 Indexed assignment (always with resize & fill). More...
 
void assign (const idx_vector &i, const idx_vector &j, const Array< FloatComplex > &rhs, const FloatComplex &rfv)
 Indexed assignment (always with resize & fill). More...
 
void assign (const idx_vector &i, const idx_vector &j, const Array< FloatComplex > &rhs)
 Indexed assignment (always with resize & fill). More...
 
void assign (const Array< idx_vector > &ia, const Array< FloatComplex > &rhs, const FloatComplex &rfv)
 Indexed assignment (always with resize & fill). More...
 
void assign (const Array< idx_vector > &ia, const Array< FloatComplex > &rhs)
 Indexed assignment (always with resize & fill). More...
 
void delete_elements (const idx_vector &i)
 Deleting elements. More...
 
void delete_elements (int dim, const idx_vector &i)
 A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More...
 
void delete_elements (const Array< idx_vector > &ia)
 Dispatcher to the above two. More...
 
Array< U > map (U(&fcn)(FloatComplex)) const
 Overloads for function references. More...
 
Array< U > map (U(&fcn)(const FloatComplex &)) const
 Overloads for function references. More...
 
bool test_any (F fcn) const
 Simpler calls. More...
 
bool test_all (F fcn) const
 Simpler calls. More...
 
bool test_any (bool(&fcn)(FloatComplex)) const
 Overloads for function references. More...
 
bool test_any (bool(&fcn)(const FloatComplex &)) const
 Overloads for function references. More...
 
bool test_all (bool(&fcn)(FloatComplex)) const
 Overloads for function references. More...
 
bool test_all (bool(&fcn)(const FloatComplex &)) const
 Overloads for function references. More...
 
int * jit_ref_count (void)
 WARNING: Only call these functions from jit. More...
 
FloatComplexjit_slice_data (void) const
 WARNING: Only call these functions from jit. More...
 
octave_idx_typejit_dimensions (void) const
 WARNING: Only call these functions from jit. More...
 
void * jit_array_rep (void) const
 WARNING: Only call these functions from jit. More...
 

Static Public Member Functions

static Array< FloatComplexcat (int dim, octave_idx_type n, const Array< FloatComplex > *array_list)
 Concatenation along a specified (0-based) dimension, equivalent to cat(). More...
 
static octave_idx_type compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
 
static void increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
 

Protected Attributes

dim_vector dimensions
 
Array< FloatComplex >::ArrayRep * rep
 
FloatComplexslice_data
 
octave_idx_type slice_len
 

Private Member Functions

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

Friends

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

Detailed Description

Definition at line 37 of file fCMatrix.h.

Member Typedef Documentation

◆ column_vector_type

◆ compare_fcn_type

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

Definition at line 211 of file Array.h.

◆ complex_diag_matrix_type

◆ complex_elt_type

Definition at line 56 of file fCMatrix.h.

◆ complex_matrix_type

◆ crefT

typedef ref_param<FloatComplex >::type Array< FloatComplex >::crefT
inherited

Definition at line 209 of file Array.h.

◆ element_type

Definition at line 201 of file Array.h.

◆ real_column_vector_type

◆ real_diag_matrix_type

◆ real_elt_type

Definition at line 55 of file fCMatrix.h.

◆ real_matrix_type

Definition at line 49 of file fCMatrix.h.

◆ real_row_vector_type

◆ row_vector_type

◆ size_type

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

Definition at line 207 of file Array.h.

◆ solve_singularity_handler

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

Definition at line 58 of file fCMatrix.h.

◆ value_type

typedef FloatComplex Array< FloatComplex >::value_type
inherited

Definition at line 203 of file Array.h.

Constructor & Destructor Documentation

◆ FloatComplexMatrix() [1/22]

FloatComplexMatrix::FloatComplexMatrix ( void  )
inline

Definition at line 60 of file fCMatrix.h.

Referenced by fsolve(), inverse(), lssolve(), ltsolve(), pseudo_inverse(), and utsolve().

◆ FloatComplexMatrix() [2/22]

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

Definition at line 62 of file fCMatrix.h.

◆ FloatComplexMatrix() [3/22]

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

Definition at line 65 of file fCMatrix.h.

◆ FloatComplexMatrix() [4/22]

FloatComplexMatrix::FloatComplexMatrix ( const dim_vector dv)
inline

Definition at line 69 of file fCMatrix.h.

◆ FloatComplexMatrix() [5/22]

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

Definition at line 72 of file fCMatrix.h.

◆ FloatComplexMatrix() [6/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexMatrix a)
inline

Definition at line 75 of file fCMatrix.h.

◆ FloatComplexMatrix() [7/22]

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

Definition at line 79 of file fCMatrix.h.

◆ FloatComplexMatrix() [8/22]

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

Definition at line 83 of file fCMatrix.h.

◆ FloatComplexMatrix() [9/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatMatrix a)
explicit

Definition at line 68 of file fCMatrix.cc.

◆ FloatComplexMatrix() [10/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatRowVector rv)
explicit

Definition at line 72 of file fCMatrix.cc.

◆ FloatComplexMatrix() [11/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatColumnVector cv)
explicit

Definition at line 76 of file fCMatrix.cc.

◆ FloatComplexMatrix() [12/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatDiagMatrix a)
explicit

Definition at line 80 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [13/22]

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

Definition at line 87 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [14/22]

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

Definition at line 94 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [15/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexRowVector rv)
explicit

Definition at line 101 of file fCMatrix.cc.

◆ FloatComplexMatrix() [16/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexColumnVector cv)
explicit

Definition at line 105 of file fCMatrix.cc.

◆ FloatComplexMatrix() [17/22]

FloatComplexMatrix::FloatComplexMatrix ( const FloatComplexDiagMatrix a)
explicit

Definition at line 109 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [18/22]

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

Definition at line 116 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [19/22]

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

Definition at line 123 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [20/22]

FloatComplexMatrix::FloatComplexMatrix ( const boolMatrix a)
explicit

Definition at line 133 of file fCMatrix.cc.

◆ FloatComplexMatrix() [21/22]

FloatComplexMatrix::FloatComplexMatrix ( const charMatrix a)
explicit

Definition at line 137 of file fCMatrix.cc.

References a, Array< FloatComplex >::elem(), and i.

◆ FloatComplexMatrix() [22/22]

Member Function Documentation

◆ abs()

FloatMatrix FloatComplexMatrix::abs ( void  ) const

Definition at line 3019 of file fCMatrix.cc.

References FloatComplexNDArray::abs().

◆ all()

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

Definition at line 2978 of file fCMatrix.cc.

References FloatComplexNDArray::all().

◆ all_elements_are_real()

bool FloatComplexNDArray::all_elements_are_real ( void  ) const
inherited

◆ all_integers()

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

◆ any()

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

Definition at line 2984 of file fCMatrix.cc.

References FloatComplexNDArray::any().

◆ any_element_is_inf_or_nan()

bool FloatComplexNDArray::any_element_is_inf_or_nan ( void  ) const
inherited

Definition at line 500 of file fCNDArray.cc.

References mx_inline_all_finite().

Referenced by Fgsvd(), and Fsvd().

◆ any_element_is_nan()

bool FloatComplexNDArray::any_element_is_nan ( void  ) const
inherited

◆ append() [1/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatMatrix a) const

◆ append() [2/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatRowVector a) const

Definition at line 452 of file fCMatrix.cc.

References a, Array< FloatComplex >::cols(), retval, and Array< FloatComplex >::rows().

◆ append() [3/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatColumnVector a) const

◆ append() [4/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatDiagMatrix a) const

◆ append() [5/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexMatrix a) const

◆ append() [6/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexRowVector a) const

Definition at line 512 of file fCMatrix.cc.

References a, Array< FloatComplex >::cols(), retval, and Array< FloatComplex >::rows().

◆ append() [7/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexColumnVector a) const

◆ append() [8/8]

FloatComplexMatrix FloatComplexMatrix::append ( const FloatComplexDiagMatrix a) const

◆ as_column()

Array<FloatComplex > Array< FloatComplex >::as_column ( void  ) const
inlineinherited

Return the array as a column vector.

Definition at line 370 of file Array.h.

◆ as_matrix()

Array<FloatComplex > Array< FloatComplex >::as_matrix ( void  ) const
inlineinherited

Return the array as a matrix.

Definition at line 390 of file Array.h.

◆ as_row()

Array<FloatComplex > Array< FloatComplex >::as_row ( void  ) const
inlineinherited

Return the array as a row vector.

Definition at line 380 of file Array.h.

◆ assign() [1/6]

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

Indexed assignment (always with resize & fill).

Definition at line 1115 of file Array.cc.

◆ assign() [2/6]

void Array< FloatComplex >::assign ( const idx_vector i,
const Array< FloatComplex > &  rhs 
)
inlineinherited

Indexed assignment (always with resize & fill).

Definition at line 649 of file Array.h.

◆ assign() [3/6]

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

Indexed assignment (always with resize & fill).

Definition at line 1162 of file Array.cc.

◆ assign() [4/6]

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

Indexed assignment (always with resize & fill).

Definition at line 656 of file Array.h.

◆ assign() [5/6]

void Array< FloatComplex >::assign ( const Array< idx_vector > &  ia,
const Array< FloatComplex > &  rhs,
const FloatComplex rfv 
)
inherited

Indexed assignment (always with resize & fill).

Definition at line 1266 of file Array.cc.

◆ assign() [6/6]

void Array< FloatComplex >::assign ( const Array< idx_vector > &  ia,
const Array< FloatComplex > &  rhs 
)
inlineinherited

Indexed assignment (always with resize & fill).

Definition at line 662 of file Array.h.

◆ byte_size()

size_t Array< FloatComplex >::byte_size ( void  ) const
inlineinherited

Definition at line 438 of file Array.h.

◆ capacity()

octave_idx_type Array< FloatComplex >::capacity ( void  ) const
inlineinherited

Number of elements in the array.

Synonymous with numel().

Note
This method is deprecated in favour of numel().

Definition at line 343 of file Array.h.

◆ cat()

Array< FloatComplex > Array< FloatComplex >::cat ( int  dim,
octave_idx_type  n,
const Array< FloatComplex > *  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 2631 of file Array.cc.

◆ changesign()

FloatComplexNDArray& FloatComplexNDArray::changesign ( void  )
inlineinherited

Definition at line 151 of file fCNDArray.h.

References MArray< T >::changesign().

◆ checkelem() [1/8]

FloatComplex & Array< FloatComplex >::checkelem ( octave_idx_type  n)
inherited

Definition at line 191 of file Array.cc.

◆ checkelem() [2/8]

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

Definition at line 204 of file Array.cc.

◆ checkelem() [3/8]

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

Definition at line 211 of file Array.cc.

◆ checkelem() [4/8]

FloatComplex & Array< FloatComplex >::checkelem ( const Array< octave_idx_type > &  ra_idx)
inherited

Definition at line 218 of file Array.cc.

◆ checkelem() [5/8]

Array< FloatComplex >::crefT Array< FloatComplex >::checkelem ( octave_idx_type  n) const
inherited

Definition at line 225 of file Array.cc.

◆ checkelem() [6/8]

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

Definition at line 238 of file Array.cc.

◆ checkelem() [7/8]

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

Definition at line 245 of file Array.cc.

◆ checkelem() [8/8]

Array< FloatComplex >::crefT Array< FloatComplex >::checkelem ( const Array< octave_idx_type > &  ra_idx) const
inherited

Definition at line 253 of file Array.cc.

◆ clear() [1/3]

void Array< FloatComplex >::clear ( void  )
inherited

Definition at line 86 of file Array.cc.

◆ clear() [2/3]

void Array< FloatComplex >::clear ( const dim_vector dv)
inherited

Definition at line 101 of file Array.cc.

◆ clear() [3/3]

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

Definition at line 334 of file Array.h.

◆ cols()

◆ column()

FloatComplexColumnVector FloatComplexMatrix::column ( octave_idx_type  i) const

◆ column_is_real_only()

bool FloatComplexMatrix::column_is_real_only ( octave_idx_type  j) const

Definition at line 3066 of file fCMatrix.cc.

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

Referenced by column_max(), and column_min().

◆ column_max() [1/2]

FloatComplexRowVector FloatComplexMatrix::column_max ( void  ) const

Definition at line 3310 of file fCMatrix.cc.

◆ column_max() [2/2]

◆ column_min() [1/2]

FloatComplexRowVector FloatComplexMatrix::column_min ( void  ) const

Definition at line 3235 of file fCMatrix.cc.

◆ column_min() [2/2]

◆ columns()

octave_idx_type Array< FloatComplex >::columns ( void  ) const
inlineinherited

Definition at line 413 of file Array.h.

Referenced by inverse(), and row_is_real_only().

◆ compute_index() [1/4]

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

Definition at line 821 of file fCNDArray.cc.

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

◆ compute_index() [2/4]

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

Definition at line 169 of file Array.cc.

◆ compute_index() [3/4]

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

Definition at line 176 of file Array.cc.

◆ compute_index() [4/4]

octave_idx_type Array< FloatComplex >::compute_index ( const Array< octave_idx_type > &  ra_idx) const
inherited

Definition at line 184 of file Array.cc.

◆ compute_index_unchecked()

octave_idx_type Array< FloatComplex >::compute_index_unchecked ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 452 of file Array.h.

◆ concat() [1/2]

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

Definition at line 637 of file fCNDArray.cc.

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

◆ concat() [2/2]

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

Definition at line 646 of file fCNDArray.cc.

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

◆ cummax() [1/2]

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

Definition at line 693 of file fCNDArray.cc.

References mx_inline_cummax().

◆ cummax() [2/2]

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

Definition at line 699 of file fCNDArray.cc.

References mx_inline_cummax().

◆ cummin() [1/2]

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

Definition at line 706 of file fCNDArray.cc.

References mx_inline_cummin().

◆ cummin() [2/2]

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

Definition at line 712 of file fCNDArray.cc.

References mx_inline_cummin().

◆ cumprod()

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

Definition at line 2990 of file fCMatrix.cc.

References FloatComplexNDArray::cumprod().

◆ cumsum()

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

Definition at line 2996 of file fCMatrix.cc.

References FloatComplexNDArray::cumsum().

◆ data()

◆ delete_elements() [1/3]

void Array< FloatComplex >::delete_elements ( const idx_vector i)
inherited

Deleting elements.

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

Definition at line 1389 of file Array.cc.

◆ delete_elements() [2/3]

void Array< FloatComplex >::delete_elements ( int  dim,
const idx_vector i 
)
inherited

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

Definition at line 1429 of file Array.cc.

◆ delete_elements() [3/3]

void Array< FloatComplex >::delete_elements ( const Array< idx_vector > &  ia)
inherited

Dispatcher to the above two.

Definition at line 1485 of file Array.cc.

◆ determinant() [1/4]

FloatComplexDET FloatComplexMatrix::determinant ( void  ) const

Definition at line 1341 of file fCMatrix.cc.

Referenced by determinant(), and Fdet().

◆ determinant() [2/4]

FloatComplexDET FloatComplexMatrix::determinant ( octave_idx_type info) const

Definition at line 1349 of file fCMatrix.cc.

References determinant().

◆ determinant() [3/4]

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

Definition at line 1356 of file fCMatrix.cc.

References determinant().

◆ determinant() [4/4]

◆ diag() [1/2]

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

Definition at line 3025 of file fCMatrix.cc.

References FloatComplexNDArray::diag(), and k.

Referenced by octave_float_complex_matrix::diag().

◆ diag() [2/2]

◆ diff()

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

Definition at line 631 of file fCNDArray.cc.

References mx_inline_diff().

◆ dim1()

octave_idx_type Array< FloatComplex >::dim1 ( void  ) const
inlineinherited

Definition at line 403 of file Array.h.

◆ dim2()

octave_idx_type Array< FloatComplex >::dim2 ( void  ) const
inlineinherited

Definition at line 411 of file Array.h.

◆ dim3()

octave_idx_type Array< FloatComplex >::dim3 ( void  ) const
inlineinherited

Definition at line 420 of file Array.h.

◆ dims()

const dim_vector& Array< FloatComplex >::dims ( void  ) const
inlineinherited

◆ dprod()

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

Definition at line 607 of file fCNDArray.cc.

References mx_inline_dprod().

◆ dsum()

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

Definition at line 619 of file fCNDArray.cc.

References mx_inline_dsum().

◆ elem() [1/8]

◆ elem() [2/8]

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

Definition at line 494 of file Array.h.

◆ elem() [3/8]

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

Definition at line 496 of file Array.h.

◆ elem() [4/8]

FloatComplex & Array< FloatComplex >::elem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 499 of file Array.h.

◆ elem() [5/8]

crefT Array< FloatComplex >::elem ( octave_idx_type  n) const
inlineinherited

Definition at line 518 of file Array.h.

◆ elem() [6/8]

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

Definition at line 520 of file Array.h.

◆ elem() [7/8]

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

Definition at line 523 of file Array.h.

◆ elem() [8/8]

crefT Array< FloatComplex >::elem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 526 of file Array.h.

◆ extract()

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

Definition at line 685 of file fCMatrix.cc.

References Array< FloatComplex >::index(), and swap.

Referenced by pseudo_inverse().

◆ extract_n()

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

Definition at line 695 of file fCMatrix.cc.

References Array< FloatComplex >::index().

◆ fill() [1/4]

◆ fill() [2/4]

◆ fill() [3/4]

◆ fill() [4/4]

◆ find() [1/2]

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

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

◆ find() [2/2]

Array< octave_idx_type > Array< FloatComplex >::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 2227 of file Array.cc.

◆ finverse()

◆ fortran_vec() [1/2]

◆ fortran_vec() [2/2]

FloatComplex * Array< FloatComplex >::fortran_vec ( void  )
inherited

Definition at line 1739 of file Array.cc.

◆ fourier() [1/2]

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

◆ fourier() [2/2]

FloatComplexMatrix FloatComplexMatrix::fourier ( void  ) const

◆ fourier2d()

FloatComplexMatrix FloatComplexMatrix::fourier2d ( void  ) const

◆ fourierNd()

FloatComplexNDArray FloatComplexNDArray::fourierNd ( void  ) const
inherited

◆ fsolve()

◆ hermitian() [1/2]

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

Definition at line 106 of file MArray.h.

◆ hermitian() [2/2]

FloatComplexMatrix FloatComplexMatrix::hermitian ( void  ) const
inline

Definition at line 171 of file fCMatrix.h.

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

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

◆ idx_add() [1/2]

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

Performs indexed accumulative addition.

Definition at line 54 of file MArray.cc.

◆ idx_add() [2/2]

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

Performs indexed accumulative addition.

Definition at line 72 of file MArray.cc.

◆ idx_add_nd()

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

Definition at line 140 of file MArray.cc.

◆ idx_max()

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

Definition at line 120 of file MArray.cc.

◆ idx_min()

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

Definition at line 101 of file MArray.cc.

◆ ifourier() [1/2]

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

◆ ifourier() [2/2]

FloatComplexMatrix FloatComplexMatrix::ifourier ( void  ) const

◆ ifourier2d()

FloatComplexMatrix FloatComplexMatrix::ifourier2d ( void  ) const

◆ ifourierNd()

FloatComplexNDArray FloatComplexNDArray::ifourierNd ( void  ) const
inherited

◆ increment_index()

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

Definition at line 813 of file fCNDArray.cc.

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

Referenced by FloatComplexNDArray::insert().

◆ index() [1/9]

Array< FloatComplex > Array< FloatComplex >::index ( const idx_vector i) const
inherited

Indexing without resizing.

Definition at line 697 of file Array.cc.

Referenced by column(), extract(), extract_n(), and row().

◆ index() [2/9]

Array< FloatComplex > Array< FloatComplex >::index ( const idx_vector i,
const idx_vector j 
) const
inherited

Indexing without resizing.

Definition at line 764 of file Array.cc.

◆ index() [3/9]

Array< FloatComplex > Array< FloatComplex >::index ( const Array< idx_vector > &  ia) const
inherited

Indexing without resizing.

Definition at line 822 of file Array.cc.

◆ index() [4/9]

Array< FloatComplex > Array< FloatComplex >::index ( const idx_vector i,
bool  resize_ok,
const FloatComplex rfv 
) const
inherited

Indexing with possible resizing and fill.

Definition at line 1032 of file Array.cc.

◆ index() [5/9]

Array<FloatComplex > Array< FloatComplex >::index ( const idx_vector i,
bool  resize_ok 
) const
inlineinherited

Indexing with possible resizing and fill.

Definition at line 625 of file Array.h.

◆ index() [6/9]

Array< FloatComplex > Array< FloatComplex >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok,
const FloatComplex rfv 
) const
inherited

Indexing with possible resizing and fill.

Definition at line 1056 of file Array.cc.

◆ index() [7/9]

Array<FloatComplex > Array< FloatComplex >::index ( const idx_vector i,
const idx_vector j,
bool  resize_ok 
) const
inlineinherited

Indexing with possible resizing and fill.

Definition at line 632 of file Array.h.

◆ index() [8/9]

Array< FloatComplex > Array< FloatComplex >::index ( const Array< idx_vector > &  ia,
bool  resize_ok,
const FloatComplex rfv 
) const
inherited

Indexing with possible resizing and fill.

Definition at line 1084 of file Array.cc.

◆ index() [9/9]

Array<FloatComplex > Array< FloatComplex >::index ( const Array< idx_vector > &  ia,
bool  resize_ok 
) const
inlineinherited

Indexing with possible resizing and fill.

Definition at line 640 of file Array.h.

◆ insert() [1/13]

◆ insert() [2/13]

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

Definition at line 797 of file fCNDArray.cc.

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

◆ insert() [3/13]

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

Definition at line 805 of file fCNDArray.cc.

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

◆ insert() [4/13]

◆ insert() [5/13]

◆ insert() [6/13]

◆ insert() [7/13]

◆ insert() [8/13]

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

Definition at line 281 of file fCMatrix.cc.

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

◆ insert() [9/13]

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

◆ insert() [10/13]

◆ insert() [11/13]

◆ insert() [12/13]

Array< FloatComplex > & Array< FloatComplex >::insert ( const Array< FloatComplex > &  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 1583 of file Array.cc.

◆ insert() [13/13]

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

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

Definition at line 1562 of file Array.cc.

◆ inverse() [1/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( void  ) const

Definition at line 739 of file fCMatrix.cc.

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

◆ inverse() [2/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( octave_idx_type info) const

Definition at line 748 of file fCMatrix.cc.

References inverse().

◆ inverse() [3/6]

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

Definition at line 756 of file fCMatrix.cc.

References inverse().

◆ inverse() [4/6]

FloatComplexMatrix FloatComplexMatrix::inverse ( MatrixType mattype) const

Definition at line 764 of file fCMatrix.cc.

References inverse().

◆ inverse() [5/6]

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

Definition at line 772 of file fCMatrix.cc.

References inverse().

◆ inverse() [6/6]

◆ ipermute()

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

Definition at line 98 of file MArray.h.

◆ is_empty()

bool Array< FloatComplex >::is_empty ( void  ) const
inlineinherited

Definition at line 568 of file Array.h.

◆ is_hermitian()

bool FloatComplexMatrix::is_hermitian ( void  ) const
inline

Definition at line 120 of file fCMatrix.h.

◆ is_nd_vector()

bool Array< FloatComplex >::is_nd_vector ( void  ) const
inlineinherited

Definition at line 577 of file Array.h.

◆ is_shared()

bool Array< FloatComplex >::is_shared ( void  )
inlineinherited

Definition at line 588 of file Array.h.

◆ is_sorted()

sortmode Array< FloatComplex >::is_sorted ( sortmode  mode = UNSORTED) const
inlineinherited

Definition at line 716 of file Array.h.

◆ is_sorted_rows() [1/2]

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

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

◆ is_sorted_rows() [2/2]

sortmode Array< FloatComplex >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 2086 of file Array.cc.

◆ is_square()

bool Array< FloatComplex >::is_square ( void  ) const
inlineinherited

Definition at line 562 of file Array.h.

◆ is_vector()

bool Array< FloatComplex >::is_vector ( void  ) const
inlineinherited

Definition at line 574 of file Array.h.

◆ isempty()

bool Array< FloatComplex >::isempty ( void  ) const
inlineinherited

Definition at line 565 of file Array.h.

◆ isfinite()

boolNDArray FloatComplexNDArray::isfinite ( void  ) const
inherited

Definition at line 737 of file fCNDArray.cc.

◆ ishermitian()

bool FloatComplexMatrix::ishermitian ( void  ) const

◆ isinf()

boolNDArray FloatComplexNDArray::isinf ( void  ) const
inherited

Definition at line 731 of file fCNDArray.cc.

◆ isnan()

boolNDArray FloatComplexNDArray::isnan ( void  ) const
inherited

Definition at line 725 of file fCNDArray.cc.

◆ issorted() [1/2]

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

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

◆ issorted() [2/2]

sortmode Array< FloatComplex >::issorted ( sortmode  mode = UNSORTED) const
inherited

Ordering is auto-detected or can be specified.

Definition at line 2033 of file Array.cc.

◆ issquare()

bool Array< FloatComplex >::issquare ( void  ) const
inlineinherited

Definition at line 559 of file Array.h.

Referenced by ishermitian().

◆ isvector()

bool Array< FloatComplex >::isvector ( void  ) const
inlineinherited

Definition at line 571 of file Array.h.

◆ jit_array_rep()

void* Array< FloatComplex >::jit_array_rep ( void  ) const
inlineinherited

WARNING: Only call these functions from jit.

Definition at line 854 of file Array.h.

◆ jit_dimensions()

octave_idx_type* Array< FloatComplex >::jit_dimensions ( void  ) const
inlineinherited

WARNING: Only call these functions from jit.

Definition at line 852 of file Array.h.

◆ jit_ref_count()

int* Array< FloatComplex >::jit_ref_count ( void  )
inlineinherited

WARNING: Only call these functions from jit.

Definition at line 848 of file Array.h.

◆ jit_slice_data()

FloatComplex * Array< FloatComplex >::jit_slice_data ( void  ) const
inlineinherited

WARNING: Only call these functions from jit.

Definition at line 850 of file Array.h.

◆ length()

octave_idx_type Array< FloatComplex >::length ( void  ) const
inlineinherited

Number of elements in the array.

Synonymous with numel().

Note
This method is deprecated in favour of numel().
This is not the same as length() at the Octave interpreter. At the Octave interpreter, the function length() returns the length of the greatest dimension. This method returns the total number of elements.

Definition at line 357 of file Array.h.

◆ linear_slice()

Array< FloatComplex > Array< FloatComplex >::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 280 of file Array.cc.

◆ lookup() [1/4]

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

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

◆ lookup() [2/4]

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

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

◆ lookup() [3/4]

octave_idx_type Array< FloatComplex >::lookup ( const FloatComplex 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 2147 of file Array.cc.

◆ lookup() [4/4]

Array< octave_idx_type > Array< FloatComplex >::lookup ( const Array< FloatComplex > &  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 2168 of file Array.cc.

◆ lssolve() [1/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatMatrix b) const

Definition at line 2409 of file fCMatrix.cc.

References b.

Referenced by lssolve(), and solve().

◆ lssolve() [2/16]

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

Definition at line 2418 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [3/16]

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

Definition at line 2426 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [4/16]

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

Definition at line 2434 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [5/16]

FloatComplexMatrix FloatComplexMatrix::lssolve ( const FloatComplexMatrix b) const

Definition at line 2441 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [6/16]

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

Definition at line 2450 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [7/16]

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

Definition at line 2459 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [8/16]

◆ lssolve() [9/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatColumnVector b) const

Definition at line 2638 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [10/16]

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

Definition at line 2647 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [11/16]

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

Definition at line 2656 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [12/16]

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

Definition at line 2664 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [13/16]

FloatComplexColumnVector FloatComplexMatrix::lssolve ( const FloatComplexColumnVector b) const

Definition at line 2671 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [14/16]

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

Definition at line 2680 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [15/16]

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

Definition at line 2689 of file fCMatrix.cc.

References b, and lssolve().

◆ lssolve() [16/16]

◆ ltsolve()

◆ make_unique()

◆ map() [1/3]

Array<U> Array< FloatComplex >::map ( F  fcn) const
inlineinherited

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

This function is optimized with a manually unrolled loop.

Definition at line 764 of file Array.h.

◆ map() [2/3]

Array<U> Array< FloatComplex >::map ( U(&)(FloatComplex fcn) const
inlineinherited

Overloads for function references.

Definition at line 796 of file Array.h.

◆ map() [3/3]

Array<U> Array< FloatComplex >::map ( U(&)(const FloatComplex &)  fcn) const
inlineinherited

Overloads for function references.

Definition at line 801 of file Array.h.

◆ max() [1/2]

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

Definition at line 669 of file fCNDArray.cc.

References mx_inline_max().

◆ max() [2/2]

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

Definition at line 675 of file fCNDArray.cc.

References mx_inline_max().

◆ maybe_economize()

void Array< FloatComplex >::maybe_economize ( void  )
inlineinherited

Definition at line 690 of file Array.h.

◆ mex_get_data()

void* Array< FloatComplex >::mex_get_data ( void  ) const
inlineinherited

Give a pointer to the data in mex format.

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

Definition at line 706 of file Array.h.

◆ min() [1/2]

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

Definition at line 681 of file fCNDArray.cc.

References mx_inline_min().

◆ min() [2/2]

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

Definition at line 687 of file fCNDArray.cc.

References mx_inline_min().

◆ ndims()

int Array< FloatComplex >::ndims ( void  ) const
inlineinherited

Definition at line 590 of file Array.h.

◆ nelem()

octave_idx_type Array< FloatComplex >::nelem ( void  ) const
inlineinherited

Number of elements in the array.

Synonymous with numel().

Note
This method is deprecated in favour of numel().

Definition at line 363 of file Array.h.

◆ nnz() [1/2]

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

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

◆ nnz() [2/2]

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

◆ nth_element() [1/2]

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

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

◆ nth_element() [2/2]

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

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

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

Definition at line 2308 of file Array.cc.

◆ numel()

◆ operator!()

boolMatrix FloatComplexMatrix::operator! ( void  ) const

◆ operator!=()

Definition at line 167 of file fCMatrix.cc.

References a.

◆ operator()() [1/8]

FloatComplex & Array< FloatComplex >::operator() ( octave_idx_type  n)
inlineinherited

Definition at line 502 of file Array.h.

◆ operator()() [2/8]

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

Definition at line 503 of file Array.h.

◆ operator()() [3/8]

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

Definition at line 504 of file Array.h.

◆ operator()() [4/8]

FloatComplex & Array< FloatComplex >::operator() ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 506 of file Array.h.

◆ operator()() [5/8]

crefT Array< FloatComplex >::operator() ( octave_idx_type  n) const
inlineinherited

Definition at line 529 of file Array.h.

◆ operator()() [6/8]

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

Definition at line 530 of file Array.h.

◆ operator()() [7/8]

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

Definition at line 532 of file Array.h.

◆ operator()() [8/8]

crefT Array< FloatComplex >::operator() ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 535 of file Array.h.

◆ operator+=() [1/3]

◆ operator+=() [2/3]

◆ operator+=() [3/3]

◆ operator-=() [1/3]

◆ operator-=() [2/3]

◆ operator-=() [3/3]

◆ operator==()

◆ optimize_dimensions()

bool Array< FloatComplex >::optimize_dimensions ( const dim_vector dv)
inherited

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

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

Definition at line 2751 of file Array.cc.

◆ page()

Array< FloatComplex > Array< FloatComplex >::page ( octave_idx_type  k) const
inherited

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

Definition at line 269 of file Array.cc.

◆ pages()

octave_idx_type Array< FloatComplex >::pages ( void  ) const
inlineinherited

Definition at line 421 of file Array.h.

◆ permute()

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

Definition at line 94 of file MArray.h.

◆ print_info()

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

Definition at line 2735 of file Array.cc.

◆ prod()

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

Definition at line 3002 of file fCMatrix.cc.

References FloatComplexNDArray::prod().

◆ pseudo_inverse()

◆ rcond() [1/2]

float FloatComplexMatrix::rcond ( void  ) const

Definition at line 1517 of file fCMatrix.cc.

Referenced by Frcond().

◆ rcond() [2/2]

◆ reshape() [1/2]

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

Definition at line 91 of file MArray.h.

◆ reshape() [2/2]

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

Definition at line 549 of file Array.h.

◆ resize() [1/3]

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

Definition at line 192 of file fCMatrix.h.

References Array< T >::resize().

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

◆ resize() [2/3]

void Array< FloatComplex >::resize ( const dim_vector dv,
const FloatComplex rfv 
)
inherited

Resizing (with fill).

Definition at line 1010 of file Array.cc.

◆ resize() [3/3]

void Array< FloatComplex >::resize ( const dim_vector dv)
inlineinherited

Resizing (with fill).

Definition at line 615 of file Array.h.

◆ resize1() [1/2]

void Array< FloatComplex >::resize1 ( octave_idx_type  n,
const FloatComplex rfv 
)
inherited

Resizing (with fill).

Definition at line 897 of file Array.cc.

◆ resize1() [2/2]

void Array< FloatComplex >::resize1 ( octave_idx_type  n)
inlineinherited

Resizing (with fill).

Definition at line 612 of file Array.h.

◆ resize2() [1/2]

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

Resizing (with fill).

Definition at line 968 of file Array.cc.

◆ resize2() [2/2]

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

Resizing (with fill).

Definition at line 606 of file Array.h.

◆ resize_fill_value()

FloatComplex Array< FloatComplex >::resize_fill_value ( void  ) const
virtualinherited

Definition at line 886 of file Array.cc.

◆ row()

FloatComplexRowVector FloatComplexMatrix::row ( octave_idx_type  i) const

Definition at line 704 of file fCMatrix.cc.

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

◆ row_is_real_only()

bool FloatComplexMatrix::row_is_real_only ( octave_idx_type  i) const

Definition at line 3047 of file fCMatrix.cc.

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

Referenced by row_max(), and row_min().

◆ row_max() [1/2]

FloatComplexColumnVector FloatComplexMatrix::row_max ( void  ) const

Definition at line 3160 of file fCMatrix.cc.

◆ row_max() [2/2]

◆ row_min() [1/2]

FloatComplexColumnVector FloatComplexMatrix::row_min ( void  ) const

Definition at line 3085 of file fCMatrix.cc.

◆ row_min() [2/2]

◆ rows()

◆ size()

size_type Array< FloatComplex >::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 431 of file Array.h.

◆ solve() [1/32]

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

Definition at line 2106 of file fCMatrix.cc.

References b.

Referenced by solve().

◆ solve() [2/32]

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

Definition at line 2114 of file fCMatrix.cc.

References b, and solve().

◆ solve() [3/32]

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

Definition at line 2122 of file fCMatrix.cc.

References b, and solve().

◆ solve() [4/32]

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

Definition at line 2129 of file fCMatrix.cc.

References b, solve(), and tmp.

◆ solve() [5/32]

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

Definition at line 2140 of file fCMatrix.cc.

References b, and solve().

◆ solve() [6/32]

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

Definition at line 2149 of file fCMatrix.cc.

References b, and solve().

◆ solve() [7/32]

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

Definition at line 2157 of file fCMatrix.cc.

References b, and solve().

◆ solve() [8/32]

◆ solve() [9/32]

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

Definition at line 2204 of file fCMatrix.cc.

References b, and solve().

◆ solve() [10/32]

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

Definition at line 2213 of file fCMatrix.cc.

References b, and solve().

◆ solve() [11/32]

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

Definition at line 2221 of file fCMatrix.cc.

References b, and solve().

◆ solve() [12/32]

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

Definition at line 2228 of file fCMatrix.cc.

References b, and solve().

◆ solve() [13/32]

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

Definition at line 2238 of file fCMatrix.cc.

References b, and solve().

◆ solve() [14/32]

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

Definition at line 2247 of file fCMatrix.cc.

References b, and solve().

◆ solve() [15/32]

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

Definition at line 2256 of file fCMatrix.cc.

References b, and solve().

◆ solve() [16/32]

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

Definition at line 2264 of file fCMatrix.cc.

References b, solve(), and tmp.

◆ solve() [17/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatMatrix b) const

Definition at line 2277 of file fCMatrix.cc.

References b, and solve().

◆ solve() [18/32]

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

Definition at line 2285 of file fCMatrix.cc.

References b, and solve().

◆ solve() [19/32]

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

Definition at line 2292 of file fCMatrix.cc.

References b, and solve().

◆ solve() [20/32]

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

Definition at line 2299 of file fCMatrix.cc.

References b, solve(), and tmp.

◆ solve() [21/32]

FloatComplexMatrix FloatComplexMatrix::solve ( const FloatComplexMatrix b) const

Definition at line 2309 of file fCMatrix.cc.

References b, and solve().

◆ solve() [22/32]

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

Definition at line 2317 of file fCMatrix.cc.

References b, and solve().

◆ solve() [23/32]

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

Definition at line 2325 of file fCMatrix.cc.

References b, and solve().

◆ solve() [24/32]

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

Definition at line 2332 of file fCMatrix.cc.

References b, and solve().

◆ solve() [25/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatColumnVector b) const

Definition at line 2342 of file fCMatrix.cc.

References b, and solve().

◆ solve() [26/32]

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

Definition at line 2350 of file fCMatrix.cc.

References b, and solve().

◆ solve() [27/32]

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

Definition at line 2358 of file fCMatrix.cc.

References b, and solve().

◆ solve() [28/32]

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

Definition at line 2365 of file fCMatrix.cc.

References b, and solve().

◆ solve() [29/32]

FloatComplexColumnVector FloatComplexMatrix::solve ( const FloatComplexColumnVector b) const

Definition at line 2374 of file fCMatrix.cc.

References b, and solve().

◆ solve() [30/32]

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

Definition at line 2382 of file fCMatrix.cc.

References b, and solve().

◆ solve() [31/32]

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

Definition at line 2390 of file fCMatrix.cc.

References b, and solve().

◆ solve() [32/32]

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

Definition at line 2398 of file fCMatrix.cc.

References b, and solve().

◆ sort() [1/4]

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

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

◆ sort() [2/4]

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

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

◆ sort() [3/4]

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

Definition at line 1756 of file Array.cc.

◆ sort() [4/4]

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

Definition at line 1872 of file Array.cc.

◆ sort_rows_idx() [1/2]

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

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

◆ sort_rows_idx() [2/2]

Array< octave_idx_type > Array< FloatComplex >::sort_rows_idx ( sortmode  mode = ASCENDING) const
inherited

Sort by rows returns only indices.

Definition at line 2068 of file Array.cc.

◆ squeeze()

FloatComplexNDArray FloatComplexNDArray::squeeze ( void  ) const
inlineinherited

Definition at line 127 of file fCNDArray.h.

References MArray< T >::squeeze().

◆ stack() [1/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatMatrix a) const

◆ stack() [2/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatRowVector a) const

◆ stack() [3/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatColumnVector a) const

Definition at line 587 of file fCMatrix.cc.

References a, Array< FloatComplex >::cols(), retval, and Array< FloatComplex >::rows().

◆ stack() [4/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatDiagMatrix a) const

◆ stack() [5/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexMatrix a) const

◆ stack() [6/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexRowVector a) const

◆ stack() [7/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexColumnVector a) const

Definition at line 647 of file fCMatrix.cc.

References a, Array< FloatComplex >::cols(), retval, and Array< FloatComplex >::rows().

◆ stack() [8/8]

FloatComplexMatrix FloatComplexMatrix::stack ( const FloatComplexDiagMatrix a) const

◆ sum()

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

Definition at line 3008 of file fCMatrix.cc.

References FloatComplexNDArray::sum().

◆ sumsq()

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

Definition at line 3014 of file fCMatrix.cc.

References FloatComplexNDArray::sumsq().

◆ test()

bool Array< FloatComplex >::test ( F  fcn) const
inlineinherited

Generic any/all test functionality with arbitrary predicate.

Definition at line 807 of file Array.h.

◆ test_all() [1/3]

bool Array< FloatComplex >::test_all ( F  fcn) const
inlineinherited

Simpler calls.

Definition at line 819 of file Array.h.

◆ test_all() [2/3]

bool Array< FloatComplex >::test_all ( bool(&)(FloatComplex fcn) const
inlineinherited

Overloads for function references.

Definition at line 831 of file Array.h.

◆ test_all() [3/3]

bool Array< FloatComplex >::test_all ( bool(&)(const FloatComplex &)  fcn) const
inlineinherited

Overloads for function references.

Definition at line 834 of file Array.h.

◆ test_any() [1/3]

bool Array< FloatComplex >::test_any ( F  fcn) const
inlineinherited

Simpler calls.

Definition at line 815 of file Array.h.

◆ test_any() [2/3]

bool Array< FloatComplex >::test_any ( bool(&)(FloatComplex fcn) const
inlineinherited

Overloads for function references.

Definition at line 825 of file Array.h.

◆ test_any() [3/3]

bool Array< FloatComplex >::test_any ( bool(&)(const FloatComplex &)  fcn) const
inlineinherited

Overloads for function references.

Definition at line 828 of file Array.h.

◆ tinverse()

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

◆ too_large_for_float()

bool FloatComplexNDArray::too_large_for_float ( void  ) const
inherited

Definition at line 569 of file fCNDArray.cc.

◆ transpose()

FloatComplexMatrix FloatComplexMatrix::transpose ( void  ) const
inline

Definition at line 173 of file fCMatrix.h.

References MArray< T >::transpose().

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

◆ utsolve()

◆ xelem() [1/8]

◆ xelem() [2/8]

crefT Array< FloatComplex >::xelem ( octave_idx_type  n) const
inlineinherited

Definition at line 459 of file Array.h.

◆ xelem() [3/8]

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

Definition at line 461 of file Array.h.

◆ xelem() [4/8]

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

Definition at line 463 of file Array.h.

◆ xelem() [5/8]

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

Definition at line 466 of file Array.h.

◆ xelem() [6/8]

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

Definition at line 468 of file Array.h.

◆ xelem() [7/8]

FloatComplex & Array< FloatComplex >::xelem ( const Array< octave_idx_type > &  ra_idx)
inlineinherited

Definition at line 471 of file Array.h.

◆ xelem() [8/8]

crefT Array< FloatComplex >::xelem ( const Array< octave_idx_type > &  ra_idx) const
inlineinherited

Definition at line 474 of file Array.h.

Friends And Related Function Documentation

◆ conj

OCTAVE_API FloatComplexMatrix conj ( const FloatComplexMatrix a)
friend

Definition at line 677 of file fCMatrix.cc.

Referenced by ishermitian().

◆ operator<<

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

Definition at line 3387 of file fCMatrix.cc.

◆ operator>>

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

Definition at line 3402 of file fCMatrix.cc.

Member Data Documentation

◆ dimensions

◆ rep

Array<FloatComplex >::ArrayRep* Array< FloatComplex >::rep
protectedinherited

Definition at line 218 of file Array.h.

◆ slice_data

FloatComplex * Array< FloatComplex >::slice_data
protectedinherited

Definition at line 227 of file Array.h.

◆ slice_len

octave_idx_type Array< FloatComplex >::slice_len
protectedinherited

Definition at line 228 of file Array.h.


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