#include "fMatrix.h"
Public Types | |
typedef FloatColumnVector | column_vector_type |
typedef FloatComplexDiagMatrix | complex_diag_matrix_type |
typedef FloatComplex | complex_elt_type |
typedef FloatComplexMatrix | complex_matrix_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 FloatRowVector | row_vector_type |
typedef void(* | solve_singularity_handler) (float rcon) |
Public Types inherited from Array< T, Alloc > | |
typedef bool(* | compare_fcn_type) (typename ref_param< T >::type, typename ref_param< T >::type) |
typedef ref_param< T >::type | crefT |
typedef T | element_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef T | value_type |
Public Member Functions | |
FloatMatrix ()=default | |
template<typename U > | |
FloatMatrix (const Array< U > &a) | |
FloatMatrix (const boolMatrix &a) | |
FloatMatrix (const charMatrix &a) | |
FloatMatrix (const DiagArray2< float > &a) | |
FloatMatrix (const dim_vector &dv) | |
FloatMatrix (const dim_vector &dv, float val) | |
FloatMatrix (const FloatColumnVector &cv) | |
FloatMatrix (const FloatDiagMatrix &a) | |
FloatMatrix (const FloatMatrix &a)=default | |
FloatMatrix (const FloatRowVector &rv) | |
template<typename U > | |
FloatMatrix (const MArray< U > &a) | |
FloatMatrix (const MDiagArray2< float > &a) | |
FloatMatrix (const PermMatrix &a) | |
FloatMatrix (octave_idx_type r, octave_idx_type c) | |
FloatMatrix (octave_idx_type r, octave_idx_type c, float val) | |
~FloatMatrix ()=default | |
FloatMatrix | abs () const |
FloatMatrix | append (const FloatColumnVector &a) const |
FloatMatrix | append (const FloatDiagMatrix &a) const |
FloatMatrix | append (const FloatMatrix &a) const |
FloatMatrix | append (const FloatRowVector &a) const |
FloatColumnVector | column (octave_idx_type i) const |
FloatRowVector | column_max () const |
FloatRowVector | column_max (Array< octave_idx_type > &index) const |
FloatRowVector | column_min () const |
FloatRowVector | column_min (Array< octave_idx_type > &index) const |
FloatMatrix | cumprod (int dim=-1) const |
FloatMatrix | cumsum (int dim=-1) const |
FloatDET | determinant () const |
FloatDET | determinant (MatrixType &mattype, octave_idx_type &info, float &rcon, bool calc_cond=true) const |
FloatDET | determinant (octave_idx_type &info) const |
FloatDET | determinant (octave_idx_type &info, float &rcon, bool calc_cond=true) const |
FloatMatrix | diag (octave_idx_type k=0) const |
FloatDiagMatrix | diag (octave_idx_type m, octave_idx_type n) const |
FloatMatrix | extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const |
FloatMatrix | extract_n (octave_idx_type r1, octave_idx_type c1, octave_idx_type nr, octave_idx_type nc) const |
FloatMatrix & | fill (float val) |
FloatMatrix & | fill (float val, octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) |
FloatComplexMatrix | fourier () const |
FloatComplexMatrix | fourier2d () const |
FloatMatrix | hermitian () const |
FloatComplexMatrix | ifourier () const |
FloatComplexMatrix | ifourier2d () const |
FloatMatrix & | insert (const FloatColumnVector &a, octave_idx_type r, octave_idx_type c) |
FloatMatrix & | insert (const FloatDiagMatrix &a, octave_idx_type r, octave_idx_type c) |
FloatMatrix & | insert (const FloatMatrix &a, octave_idx_type r, octave_idx_type c) |
FloatMatrix & | insert (const FloatRowVector &a, octave_idx_type r, octave_idx_type c) |
FloatMatrix | inverse () const |
FloatMatrix | inverse (MatrixType &mattype) const |
FloatMatrix | inverse (MatrixType &mattype, octave_idx_type &info) const |
FloatMatrix | inverse (MatrixType &mattype, octave_idx_type &info, float &rcon, bool force=false, bool calc_cond=true) const |
FloatMatrix | inverse (octave_idx_type &info) const |
FloatMatrix | inverse (octave_idx_type &info, float &rcon, bool force=false, bool calc_cond=true) const |
bool | issymmetric () const |
FloatColumnVector | lssolve (const FloatColumnVector &b) const |
FloatColumnVector | lssolve (const FloatColumnVector &b, octave_idx_type &info) const |
FloatColumnVector | lssolve (const FloatColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const |
FloatColumnVector | lssolve (const FloatColumnVector &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const |
FloatComplexColumnVector | lssolve (const FloatComplexColumnVector &b) const |
FloatComplexColumnVector | lssolve (const FloatComplexColumnVector &b, octave_idx_type &info) const |
FloatComplexColumnVector | lssolve (const FloatComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank) const |
FloatComplexColumnVector | lssolve (const FloatComplexColumnVector &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const |
FloatComplexMatrix | lssolve (const FloatComplexMatrix &b) const |
FloatComplexMatrix | lssolve (const FloatComplexMatrix &b, octave_idx_type &info) const |
FloatComplexMatrix | lssolve (const FloatComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank) const |
FloatComplexMatrix | lssolve (const FloatComplexMatrix &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const |
FloatMatrix | lssolve (const FloatMatrix &b) const |
FloatMatrix | lssolve (const FloatMatrix &b, octave_idx_type &info) const |
FloatMatrix | lssolve (const FloatMatrix &b, octave_idx_type &info, octave_idx_type &rank) const |
FloatMatrix | lssolve (const FloatMatrix &b, octave_idx_type &info, octave_idx_type &rank, float &rcon) const |
bool | operator!= (const FloatMatrix &a) const |
FloatMatrix & | operator+= (const FloatDiagMatrix &a) |
FloatMatrix & | operator-= (const FloatDiagMatrix &a) |
FloatMatrix & | operator= (const FloatMatrix &a)=default |
bool | operator== (const FloatMatrix &a) const |
FloatMatrix | prod (int dim=-1) const |
FloatMatrix | pseudo_inverse (float tol=0.0) const |
float | rcond () const |
float | rcond (MatrixType &mattype) const |
void | resize (octave_idx_type nr, octave_idx_type nc, float rfv=0) |
FloatRowVector | row (octave_idx_type i) const |
FloatColumnVector | row_max () const |
FloatColumnVector | row_max (Array< octave_idx_type > &index) const |
FloatColumnVector | row_min () const |
FloatColumnVector | row_min (Array< octave_idx_type > &index) const |
FloatColumnVector | solve (const FloatColumnVector &b) const |
FloatColumnVector | solve (const FloatColumnVector &b, octave_idx_type &info) const |
FloatColumnVector | solve (const FloatColumnVector &b, octave_idx_type &info, float &rcon) const |
FloatColumnVector | solve (const FloatColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
FloatComplexColumnVector | solve (const FloatComplexColumnVector &b) const |
FloatComplexColumnVector | solve (const FloatComplexColumnVector &b, octave_idx_type &info) const |
FloatComplexColumnVector | solve (const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon) const |
FloatComplexColumnVector | solve (const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
FloatComplexMatrix | solve (const FloatComplexMatrix &b) const |
FloatComplexMatrix | solve (const FloatComplexMatrix &b, octave_idx_type &info) const |
FloatComplexMatrix | solve (const FloatComplexMatrix &b, octave_idx_type &info, float &rcon) const |
FloatComplexMatrix | solve (const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
FloatMatrix | solve (const FloatMatrix &b) const |
FloatMatrix | solve (const FloatMatrix &b, octave_idx_type &info) const |
FloatMatrix | solve (const FloatMatrix &b, octave_idx_type &info, float &rcon) const |
FloatMatrix | solve (const FloatMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
FloatColumnVector | solve (MatrixType &mattype, const FloatColumnVector &b) const |
FloatColumnVector | solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info) const |
FloatColumnVector | solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info, float &rcon) const |
FloatColumnVector | solve (MatrixType &mattype, const FloatColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
FloatComplexColumnVector | solve (MatrixType &mattype, const FloatComplexColumnVector &b) const |
FloatComplexColumnVector | solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info) const |
FloatComplexColumnVector | solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon) const |
FloatComplexColumnVector | solve (MatrixType &mattype, const FloatComplexColumnVector &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, blas_trans_type transt=blas_no_trans) const |
FloatComplexMatrix | solve (MatrixType &mattype, const FloatComplexMatrix &b) const |
FloatComplexMatrix | solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info) const |
FloatComplexMatrix | solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon) const |
FloatComplexMatrix | solve (MatrixType &mattype, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool singular_fallback=true, blas_trans_type transt=blas_no_trans) const |
FloatMatrix | solve (MatrixType &mattype, const FloatMatrix &b) const |
FloatMatrix | solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info) const |
FloatMatrix | solve (MatrixType &mattype, const FloatMatrix &b, octave_idx_type &info, float &rcon) const |
FloatMatrix | 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 |
FloatMatrix | stack (const FloatColumnVector &a) const |
FloatMatrix | stack (const FloatDiagMatrix &a) const |
FloatMatrix | stack (const FloatMatrix &a) const |
FloatMatrix | stack (const FloatRowVector &a) const |
FloatMatrix | sum (int dim=-1) const |
FloatMatrix | sumsq (int dim=-1) const |
FloatMatrix | transpose () const |
Public Member Functions inherited from FloatNDArray | |
FloatNDArray () | |
template<typename U > | |
FloatNDArray (const Array< U > &a) | |
FloatNDArray (const charNDArray &) | |
FloatNDArray (const dim_vector &dv) | |
FloatNDArray (const dim_vector &dv, float val) | |
FloatNDArray (const FloatNDArray &a) | |
template<typename U > | |
FloatNDArray (const intNDArray< U > &a) | |
template<typename U > | |
FloatNDArray (const MArray< U > &a) | |
~FloatNDArray ()=default | |
FloatNDArray | abs () const |
boolNDArray | all (int dim=-1) const |
bool | all_elements_are_int_or_inf_or_nan () const |
bool | all_elements_are_zero () const |
bool | all_integers () const |
bool | all_integers (float &max_val, float &min_val) const |
boolNDArray | any (int dim=-1) const |
bool | any_element_is_inf_or_nan () const |
bool | any_element_is_nan () const |
bool | any_element_is_negative (bool=false) const |
bool | any_element_is_positive (bool=false) const |
bool | any_element_not_one_or_zero () const |
FloatNDArray & | changesign () |
charNDArray | concat (const charNDArray &rb, const Array< octave_idx_type > &ra_idx) |
FloatComplexNDArray | concat (const FloatComplexNDArray &rb, const Array< octave_idx_type > &ra_idx) |
FloatNDArray | concat (const FloatNDArray &rb, const Array< octave_idx_type > &ra_idx) |
FloatNDArray | cummax (Array< octave_idx_type > &index, int dim=-1) const |
FloatNDArray | cummax (int dim=-1) const |
FloatNDArray | cummin (Array< octave_idx_type > &index, int dim=-1) const |
FloatNDArray | cummin (int dim=-1) const |
FloatNDArray | cumprod (int dim=-1) const |
FloatNDArray | cumsum (int dim=-1) const |
FloatNDArray | diag (octave_idx_type k=0) const |
FloatNDArray | diag (octave_idx_type m, octave_idx_type n) const |
FloatNDArray | diff (octave_idx_type order=1, int dim=-1) const |
NDArray | dprod (int dim=-1) const |
NDArray | dsum (int dim=-1) const |
FloatComplexNDArray | fourier (int dim=1) const |
FloatComplexNDArray | fourier2d () const |
FloatComplexNDArray | fourierNd () const |
FloatComplexNDArray | ifourier (int dim=1) const |
FloatComplexNDArray | ifourier2d () const |
FloatComplexNDArray | ifourierNd () const |
FloatNDArray & | insert (const FloatNDArray &a, const Array< octave_idx_type > &ra_idx) |
FloatNDArray & | insert (const FloatNDArray &a, octave_idx_type r, octave_idx_type c) |
boolNDArray | isfinite () const |
boolNDArray | isinf () const |
boolNDArray | isnan () const |
FloatNDArray | max (Array< octave_idx_type > &index, int dim=-1) const |
FloatNDArray | max (int dim=-1) const |
FloatNDArray | min (Array< octave_idx_type > &index, int dim=-1) const |
FloatNDArray | min (int dim=-1) const |
boolNDArray | operator! () const |
FloatNDArray & | operator= (const FloatNDArray &a) |
FloatNDArray | prod (int dim=-1) const |
FloatNDArray | squeeze () const |
FloatNDArray | sum (int dim=-1) const |
FloatNDArray | sumsq (int dim=-1) const |
bool | too_large_for_float () const |
Public Member Functions inherited from MArray< float > | |
MArray () | |
MArray (const Array< U > &a) | |
MArray (const dim_vector &dv) | |
MArray (const dim_vector &dv, const float &val) | |
MArray (const MArray< float > &a) | |
~MArray ()=default | |
void | changesign () |
MArray< float > | hermitian (float(*fcn)(const float &)=nullptr) const |
void | idx_add (const octave::idx_vector &idx, const MArray< float > &vals) |
void | idx_add (const octave::idx_vector &idx, float val) |
Performs indexed accumulative addition. More... | |
void | idx_add_nd (const octave::idx_vector &idx, const MArray< float > &vals, int dim=-1) |
void | idx_max (const octave::idx_vector &idx, const MArray< float > &vals) |
void | idx_min (const octave::idx_vector &idx, const MArray< float > &vals) |
MArray< float > | ipermute (const Array< octave_idx_type > &vec) const |
MArray< float > & | operator= (const MArray< float > &a) |
MArray< float > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
MArray< float > | reshape (const dim_vector &new_dims) const |
MArray | squeeze () const |
MArray< float > | transpose () const |
Public Member Functions inherited from Array< T, Alloc > | |
Array () | |
Empty ctor (0 by 0). More... | |
Array (Array< T, Alloc > &&a) | |
Array (const Array< T, Alloc > &a) | |
No type conversion case. More... | |
Array (const Array< T, Alloc > &a, const dim_vector &dv) | |
Reshape constructor. More... | |
template<typename U , typename A = Alloc> | |
Array (const Array< U, A > &a) | |
Type conversion case. More... | |
template<template< typename... > class Container> | |
Array (const Container< T > &a, const dim_vector &dv) | |
Constructor from standard library sequence containers. More... | |
Array (const dim_vector &dv) | |
nD uninitialized ctor. More... | |
Array (const dim_vector &dv, const T &val) | |
nD initialized ctor. More... | |
Array (T *ptr, const dim_vector &dv, const Alloc &xallocator=Alloc()) | |
virtual | ~Array () |
Array< T, Alloc > | as_column () const |
Return the array as a column vector. More... | |
Array< T, Alloc > | as_matrix () const |
Return the array as a matrix. More... | |
Array< T, Alloc > | as_row () const |
Return the array as a row vector. More... | |
void | clear () |
void | clear (const dim_vector &dv) |
void | clear (octave_idx_type r, octave_idx_type c) |
void | fill (const T &val) |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
Array< octave_idx_type > | find (octave_idx_type, bool) const |
sortmode | is_sorted_rows (sortmode) const |
sortmode | is_sorted_rows (sortmode) const |
sortmode | issorted (sortmode mode) const |
sortmode | issorted (sortmode) const |
sortmode | issorted (sortmode) const |
Array< octave_idx_type > | lookup (const Array< octave::cdef_object > &, sortmode) const |
Array< octave_idx_type > | lookup (const Array< octave::idx_vector > &, sortmode) const |
octave_idx_type | lookup (octave::cdef_object const &, sortmode) const |
octave_idx_type | lookup (octave::idx_vector const &, sortmode) const |
void | make_unique () |
octave_idx_type | nnz () const |
octave_idx_type | nnz () const |
Array< octave::cdef_object > | nth_element (const octave::idx_vector &, int) const |
Array< octave::idx_vector > | nth_element (const octave::idx_vector &, int) const |
octave_idx_type | numel () const |
Number of elements in the array. More... | |
Array< T, Alloc > & | operator= (Array< T, Alloc > &&a) |
Array< T, Alloc > & | operator= (const Array< T, Alloc > &a) |
Array< octave::cdef_object > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
Array< octave::idx_vector > | sort (Array< octave_idx_type > &sidx, int, sortmode) const |
Array< octave::cdef_object > | sort (int, sortmode) const |
Array< octave::idx_vector > | sort (int, sortmode) const |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
Array< octave_idx_type > | sort_rows_idx (sortmode) const |
octave_idx_type | dim1 () const |
octave_idx_type | rows () const |
octave_idx_type | dim2 () const |
octave_idx_type | cols () const |
octave_idx_type | columns () const |
octave_idx_type | dim3 () const |
Size of the specified dimension. More... | |
octave_idx_type | pages () 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 () const |
Size of the specified dimension. More... | |
const dim_vector & | dims () const |
Return a const-reference so that dims ()(i) works efficiently. More... | |
Array< T, Alloc > | squeeze () const |
Chop off leading singleton dimensions. More... | |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
octave_idx_type | compute_index_unchecked (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
T & | xelem (octave_idx_type n) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
T & | xelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
T & | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
crefT | xelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
T & | xelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | xelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
T & | checkelem (octave_idx_type n) |
Size of the specified dimension. More... | |
T & | checkelem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
T & | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
T & | checkelem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
T & | elem (octave_idx_type n) |
Size of the specified dimension. More... | |
T & | elem (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
T & | elem (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
T & | elem (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
T & | operator() (octave_idx_type n) |
Size of the specified dimension. More... | |
T & | operator() (octave_idx_type i, octave_idx_type j) |
Size of the specified dimension. More... | |
T & | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) |
Size of the specified dimension. More... | |
T & | operator() (const Array< octave_idx_type > &ra_idx) |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | checkelem (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | checkelem (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
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... | |
crefT | operator() (octave_idx_type n) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j) const |
Size of the specified dimension. More... | |
crefT | operator() (octave_idx_type i, octave_idx_type j, octave_idx_type k) const |
Size of the specified dimension. More... | |
crefT | operator() (const Array< octave_idx_type > &ra_idx) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | column (octave_idx_type k) const |
Extract column: A(:,k+1). More... | |
Array< T, Alloc > | page (octave_idx_type k) const |
Extract page: A(:,:,k+1). More... | |
Array< T, Alloc > | linear_slice (octave_idx_type lo, octave_idx_type up) const |
Extract a slice from this array as a column vector: A(:)(lo+1:up). More... | |
Array< T, Alloc > | reshape (octave_idx_type nr, octave_idx_type nc) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | reshape (const dim_vector &new_dims) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | permute (const Array< octave_idx_type > &vec, bool inv=false) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | ipermute (const Array< octave_idx_type > &vec) const |
Size of the specified dimension. More... | |
bool | issquare () const |
Size of the specified dimension. More... | |
bool | isempty () const |
Size of the specified dimension. More... | |
bool | isvector () const |
Size of the specified dimension. More... | |
bool | is_nd_vector () const |
Size of the specified dimension. More... | |
Array< T, Alloc > | transpose () const |
Size of the specified dimension. More... | |
Array< T, Alloc > | hermitian (T(*fcn)(const T &)=nullptr) const |
Size of the specified dimension. More... | |
const T * | data () const |
Size of the specified dimension. More... | |
T * | fortran_vec () |
Size of the specified dimension. More... | |
bool | is_shared () const |
Size of the specified dimension. More... | |
int | ndims () const |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const octave::idx_vector &i) const |
Indexing without resizing. More... | |
Array< T, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const Array< octave::idx_vector > &ia) const |
Size of the specified dimension. More... | |
virtual T | resize_fill_value () const |
Size of the specified dimension. More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc, const T &rfv) |
Resizing (with fill). More... | |
void | resize2 (octave_idx_type nr, octave_idx_type nc) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n, const T &rfv) |
Size of the specified dimension. More... | |
void | resize1 (octave_idx_type n) |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv, const T &rfv) |
Size of the specified dimension. More... | |
void | resize (const dim_vector &dv) |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const octave::idx_vector &i, bool resize_ok, const T &rfv) const |
Indexing with possible resizing and fill. More... | |
Array< T, Alloc > | index (const octave::idx_vector &i, bool resize_ok) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const T &rfv) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const Array< octave::idx_vector > &ia, bool resize_ok, const T &rfv) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | index (const Array< octave::idx_vector > &ia, bool resize_ok) const |
Size of the specified dimension. More... | |
void | assign (const octave::idx_vector &i, const Array< T, Alloc > &rhs, const T &rfv) |
Indexed assignment (always with resize & fill). More... | |
void | assign (const octave::idx_vector &i, const Array< T, Alloc > &rhs) |
Size of the specified dimension. More... | |
void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< T, Alloc > &rhs, const T &rfv) |
Size of the specified dimension. More... | |
void | assign (const octave::idx_vector &i, const octave::idx_vector &j, const Array< T, Alloc > &rhs) |
Size of the specified dimension. More... | |
void | assign (const Array< octave::idx_vector > &ia, const Array< T, Alloc > &rhs, const T &rfv) |
Size of the specified dimension. More... | |
void | assign (const Array< octave::idx_vector > &ia, const Array< T, Alloc > &rhs) |
Size of the specified dimension. More... | |
void | delete_elements (const octave::idx_vector &i) |
Deleting elements. More... | |
void | delete_elements (int dim, const octave::idx_vector &i) |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon) More... | |
void | delete_elements (const Array< octave::idx_vector > &ia) |
Dispatcher to the above two. More... | |
Array< T, Alloc > & | insert (const Array< T, Alloc > &a, const Array< octave_idx_type > &idx) |
Insert an array into another at a specified position. More... | |
Array< T, Alloc > & | insert (const Array< T, Alloc > &a, octave_idx_type r, octave_idx_type c) |
This is just a special case for idx = [r c 0 ...]. More... | |
void | maybe_economize () |
Size of the specified dimension. More... | |
void | print_info (std::ostream &os, const std::string &prefix) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | sort (int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
Array< T, Alloc > | sort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const |
Size of the specified dimension. More... | |
sortmode | issorted (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
Sort by rows returns only indices. More... | |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
Ordering is auto-detected or can be specified. More... | |
octave_idx_type | lookup (const T &value, sortmode mode=UNSORTED) const |
Do a binary lookup in a sorted array. More... | |
Array< octave_idx_type > | lookup (const Array< T, Alloc > &values, sortmode mode=UNSORTED) const |
Ditto, but for an array of values, specializing on the case when values are sorted. More... | |
octave_idx_type | nnz () const |
Count nonzero elements. More... | |
Array< octave_idx_type > | find (octave_idx_type n=-1, bool backward=false) const |
Find indices of (at most n) nonzero elements. More... | |
Array< T, Alloc > | nth_element (const octave::idx_vector &n, int dim=0) const |
Returns the n-th element in increasing order, using the same ordering as used for sort. More... | |
Array< T, Alloc > | diag (octave_idx_type k=0) const |
Get the kth super or subdiagonal. More... | |
Array< T, Alloc > | diag (octave_idx_type m, octave_idx_type n) const |
Size of the specified dimension. More... | |
template<typename U , typename F , typename A = std::allocator<U>> | |
Array< U, A > | map (F fcn) const |
Apply function fcn to each element of the Array<T, Alloc>. More... | |
template<typename U , typename A = std::allocator<U>> | |
Array< U, A > | map (U(&fcn)(T)) const |
Overloads for function references. More... | |
template<typename U , typename A = std::allocator<U>> | |
Array< U, A > | map (U(&fcn)(const T &)) const |
Size of the specified dimension. More... | |
template<typename F , bool zero> | |
bool | test (F fcn) const |
Generic any/all test functionality with arbitrary predicate. More... | |
template<typename F > | |
bool | test_any (F fcn) const |
Simpler calls. More... | |
template<typename F > | |
bool | test_all (F fcn) const |
Size of the specified dimension. More... | |
bool | test_any (bool(&fcn)(T)) const |
Overloads for function references. More... | |
bool | test_any (bool(&fcn)(const T &)) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(T)) const |
Size of the specified dimension. More... | |
bool | test_all (bool(&fcn)(const T &)) const |
Size of the specified dimension. More... | |
bool | optimize_dimensions (const dim_vector &dv) |
Returns true if this->dims () == dv, and if so, replaces this->m_dimensions by a shallow copy of dv. More... | |
Friends | |
class | FloatComplexMatrix |
FloatMatrix | imag (const FloatComplexMatrix &a) |
std::ostream & | operator<< (std::ostream &os, const FloatMatrix &a) |
std::istream & | operator>> (std::istream &is, FloatMatrix &a) |
FloatMatrix | real (const FloatComplexMatrix &a) |
Additional Inherited Members | |
Static Public Member Functions inherited from FloatNDArray | |
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) |
Static Public Member Functions inherited from Array< T, Alloc > | |
static Array< T, Alloc > | cat (int dim, octave_idx_type n, const Array< T, Alloc > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
Protected Member Functions inherited from Array< T, Alloc > | |
Array (const Array< T, Alloc > &a, const dim_vector &dv, octave_idx_type l, octave_idx_type u) | |
slice constructor More... | |
Protected Attributes inherited from Array< T, Alloc > | |
dim_vector | m_dimensions |
Array< T, Alloc >::ArrayRep * | m_rep |
T * | m_slice_data |
octave_idx_type | m_slice_len |
typedef float FloatMatrix::real_elt_type |
typedef void(* FloatMatrix::solve_singularity_handler) (float rcon) |
|
default |
Referenced by lssolve(), and pseudo_inverse().
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
explicit |
Definition at line 70 of file fMatrix.cc.
|
explicit |
Definition at line 74 of file fMatrix.cc.
|
explicit |
Definition at line 78 of file fMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 85 of file fMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 92 of file fMatrix.cc.
References Array< T, Alloc >::elem(), DiagArray2< T >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 99 of file fMatrix.cc.
References PermMatrix::col_perm_vec(), Array< T, Alloc >::elem(), len, and PermMatrix::rows().
|
explicit |
Definition at line 110 of file fMatrix.cc.
|
explicit |
Definition at line 114 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::abs | ( | ) | const |
Definition at line 2411 of file fMatrix.cc.
References FloatNDArray::abs().
FloatMatrix FloatMatrix::append | ( | const FloatColumnVector & | a | ) | const |
Definition at line 301 of file fMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::append | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 316 of file fMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), insert(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatMatrix FloatMatrix::append | ( | const FloatMatrix & | a | ) | const |
Definition at line 271 of file fMatrix.cc.
References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::append | ( | const FloatRowVector & | a | ) | const |
Definition at line 286 of file fMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatColumnVector FloatMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 428 of file fMatrix.cc.
References Array< T, Alloc >::index().
Referenced by qr< T >::insert_col(), solve(), lu< T >::update(), qr< T >::update(), and lu< T >::update_piv().
FloatRowVector FloatMatrix::column_max | ( | ) | const |
Definition at line 2604 of file fMatrix.cc.
FloatRowVector FloatMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2611 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatRowVector::resize(), and Array< T, Alloc >::rows().
FloatRowVector FloatMatrix::column_min | ( | ) | const |
Definition at line 2549 of file fMatrix.cc.
FloatRowVector FloatMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2556 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatRowVector::resize(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2381 of file fMatrix.cc.
References FloatNDArray::cumprod().
FloatMatrix FloatMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2387 of file fMatrix.cc.
References FloatNDArray::cumsum().
FloatDET FloatMatrix::determinant | ( | ) | const |
Definition at line 864 of file fMatrix.cc.
Referenced by determinant().
FloatDET FloatMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 887 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::Rectangular, Array< T, Alloc >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
FloatDET FloatMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 872 of file fMatrix.cc.
References determinant().
FloatDET FloatMatrix::determinant | ( | octave_idx_type & | info, |
float & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 879 of file fMatrix.cc.
References determinant().
FloatMatrix FloatMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2417 of file fMatrix.cc.
References FloatNDArray::diag().
Referenced by octave_float_matrix::diag().
FloatDiagMatrix FloatMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 2423 of file fMatrix.cc.
References Array< T, Alloc >::cols(), current_liboctave_error_handler, m, n, and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 403 of file fMatrix.cc.
References Array< T, Alloc >::index().
Referenced by pseudo_inverse().
FloatMatrix FloatMatrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 413 of file fMatrix.cc.
References Array< T, Alloc >::index().
FloatMatrix & FloatMatrix::fill | ( | float | val | ) |
Definition at line 227 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
Referenced by insert().
FloatMatrix & FloatMatrix::fill | ( | float | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 245 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatComplexMatrix FloatMatrix::fourier | ( | ) | const |
Definition at line 740 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatMatrix::fourier2d | ( | ) | const |
Definition at line 799 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
|
inline |
Definition at line 139 of file fMatrix.h.
References MArray< T >::transpose().
FloatComplexMatrix FloatMatrix::ifourier | ( | ) | const |
Definition at line 769 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
FloatComplexMatrix FloatMatrix::ifourier2d | ( | ) | const |
Definition at line 811 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::fortran_vec(), and Array< T, Alloc >::rows().
FloatMatrix & FloatMatrix::insert | ( | const FloatColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 182 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatMatrix & FloatMatrix::insert | ( | const FloatDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 202 of file fMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< T, Alloc >::make_unique(), r, Array< T, Alloc >::rows(), DiagArray2< T >::rows(), and Array< T, Alloc >::xelem().
FloatMatrix & FloatMatrix::insert | ( | const FloatMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 154 of file fMatrix.cc.
References FloatNDArray::insert(), and r.
FloatMatrix & FloatMatrix::insert | ( | const FloatRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 162 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::make_unique(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), and Array< T, Alloc >::xelem().
FloatMatrix FloatMatrix::inverse | ( | ) | const |
Definition at line 457 of file fMatrix.cc.
Referenced by inverse().
FloatMatrix FloatMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 482 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 490 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 645 of file fMatrix.cc.
References MatrixType::Diagonal, MatrixType::type(), and MatrixType::Unknown.
FloatMatrix FloatMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 466 of file fMatrix.cc.
References inverse().
FloatMatrix FloatMatrix::inverse | ( | octave_idx_type & | info, |
float & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 474 of file fMatrix.cc.
References inverse().
bool FloatMatrix::issymmetric | ( | ) | const |
Definition at line 138 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), Array< T, Alloc >::issquare(), and Array< T, Alloc >::rows().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2151 of file fMatrix.cc.
References lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2160 of file fMatrix.cc.
References lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2168 of file fMatrix.cc.
References lssolve().
FloatColumnVector FloatMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2176 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), F77_FUNC(), F77_XFCN, Array< T, Alloc >::fortran_vec(), log2(), m, n, Array< T, Alloc >::numel(), Array< T, Alloc >::resize(), FloatColumnVector::resize(), Array< T, Alloc >::rows(), and xilaenv().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2279 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2289 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2299 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexColumnVector FloatMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2308 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2115 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2125 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2134 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatComplexMatrix FloatMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2143 of file fMatrix.cc.
References FloatComplexMatrix::lssolve().
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b | ) | const |
Definition at line 1927 of file fMatrix.cc.
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1936 of file fMatrix.cc.
References lssolve().
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 1944 of file fMatrix.cc.
References lssolve().
FloatMatrix FloatMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 1953 of file fMatrix.cc.
References FloatMatrix(), Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), F77_FUNC(), F77_XFCN, Array< T, Alloc >::fortran_vec(), log2(), m, n, Array< T, Alloc >::resize(), Array< T, Alloc >::rows(), and xilaenv().
bool FloatMatrix::operator!= | ( | const FloatMatrix & | a | ) | const |
Definition at line 132 of file fMatrix.cc.
FloatMatrix & FloatMatrix::operator+= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2316 of file fMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), err_nonconformant(), DiagArray2< T >::length(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatMatrix & FloatMatrix::operator-= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2334 of file fMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::elem(), DiagArray2< T >::elem(), err_nonconformant(), DiagArray2< T >::length(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
|
default |
bool FloatMatrix::operator== | ( | const FloatMatrix & | a | ) | const |
Definition at line 123 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), mx_inline_equal(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2393 of file fMatrix.cc.
References FloatNDArray::prod().
FloatMatrix FloatMatrix::pseudo_inverse | ( | float | tol = 0.0 | ) | const |
Definition at line 699 of file fMatrix.cc.
References FloatMatrix(), Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), extract(), FloatColumnVector::extract(), FloatDiagMatrix::extract_diag(), FloatDiagMatrix::inverse(), max(), min(), Array< T, Alloc >::numel(), r, Array< T, Alloc >::rows(), transpose(), and V.
float FloatMatrix::rcond | ( | ) | const |
Definition at line 1038 of file fMatrix.cc.
float FloatMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1045 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, Inf, MatrixType::Lower, NaN, norm(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, Array< T, Alloc >::rows(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inline |
Definition at line 158 of file fMatrix.h.
References Array< T >::resize().
FloatRowVector FloatMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 422 of file fMatrix.cc.
References Array< T, Alloc >::index().
FloatColumnVector FloatMatrix::row_max | ( | ) | const |
Definition at line 2494 of file fMatrix.cc.
FloatColumnVector FloatMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2501 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatColumnVector::resize(), and Array< T, Alloc >::rows().
FloatColumnVector FloatMatrix::row_min | ( | ) | const |
Definition at line 2439 of file fMatrix.cc.
FloatColumnVector FloatMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2446 of file fMatrix.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::elem(), isnan(), NaN, Array< T, Alloc >::resize(), FloatColumnVector::resize(), and Array< T, Alloc >::rows().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 1865 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1872 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1879 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::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 1886 of file fMatrix.cc.
References solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 1895 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1902 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1910 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::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 1918 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 1833 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1840 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1847 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::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 1855 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b | ) | const |
Definition at line 1802 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 1810 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1817 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::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 1824 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b | ||
) | const |
Definition at line 1733 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1741 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1749 of file fMatrix.cc.
References solve().
FloatColumnVector FloatMatrix::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 1757 of file fMatrix.cc.
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b | ||
) | const |
Definition at line 1768 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1776 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1784 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexColumnVector FloatMatrix::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 1792 of file fMatrix.cc.
References FloatComplexMatrix::solve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b | ||
) | const |
Definition at line 1666 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1674 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1682 of file fMatrix.cc.
References solve().
FloatComplexMatrix FloatMatrix::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 |
Definition at line 1721 of file fMatrix.cc.
FloatMatrix FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b | ||
) | const |
Definition at line 1608 of file fMatrix.cc.
Referenced by solve(), xdiv(), and xleftdiv().
FloatMatrix FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 1616 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::solve | ( | MatrixType & | mattype, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 1624 of file fMatrix.cc.
References solve().
FloatMatrix FloatMatrix::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 1631 of file fMatrix.cc.
References blas_conj_trans, blas_trans, MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, lssolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
FloatMatrix FloatMatrix::stack | ( | const FloatColumnVector & | a | ) | const |
Definition at line 361 of file fMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::stack | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 376 of file fMatrix.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), insert(), Array< T, Alloc >::rows(), and DiagArray2< T >::rows().
FloatMatrix FloatMatrix::stack | ( | const FloatMatrix & | a | ) | const |
Definition at line 331 of file fMatrix.cc.
References Array< T, Alloc >::cols(), insert(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::stack | ( | const FloatRowVector & | a | ) | const |
Definition at line 346 of file fMatrix.cc.
References Array< T, Alloc >::cols(), insert(), Array< T, Alloc >::numel(), and Array< T, Alloc >::rows().
FloatMatrix FloatMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2399 of file fMatrix.cc.
References FloatNDArray::sum().
FloatMatrix FloatMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2405 of file fMatrix.cc.
References FloatNDArray::sumsq().
|
inline |
Definition at line 140 of file fMatrix.h.
References MArray< T >::transpose().
Referenced by pseudo_inverse(), solve(), Sylvester(), and xdiv().
|
friend |
|
friend |
Definition at line 397 of file fMatrix.cc.
|
friend |
Definition at line 2658 of file fMatrix.cc.
|
friend |
Definition at line 2674 of file fMatrix.cc.
|
friend |
Definition at line 391 of file fMatrix.cc.