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

#include "fMatrix.h"

Inheritance diagram for FloatMatrix:
FloatNDArray MArray< float > Array< T, Alloc >

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
 
FloatMatrixfill (float val)
 
FloatMatrixfill (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
 
FloatMatrixinsert (const FloatColumnVector &a, octave_idx_type r, octave_idx_type c)
 
FloatMatrixinsert (const FloatDiagMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatMatrixinsert (const FloatMatrix &a, octave_idx_type r, octave_idx_type c)
 
FloatMatrixinsert (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
 
FloatMatrixoperator+= (const FloatDiagMatrix &a)
 
FloatMatrixoperator-= (const FloatDiagMatrix &a)
 
FloatMatrixoperator= (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
 
FloatNDArraychangesign ()
 
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
 
FloatNDArrayinsert (const FloatNDArray &a, const Array< octave_idx_type > &ra_idx)
 
FloatNDArrayinsert (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
 
FloatNDArrayoperator= (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, Allocas_column () const
 Return the array as a column vector. More...
 
Array< T, Allocas_matrix () const
 Return the array as a matrix. More...
 
Array< T, Allocas_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_typefind (octave_idx_type, bool) const
 
Array< octave_idx_typefind (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_typelookup (const Array< octave::cdef_object > &, sortmode) const
 
Array< octave_idx_typelookup (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_vectornth_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_vectorsort (Array< octave_idx_type > &sidx, int, sortmode) const
 
Array< octave::cdef_object > sort (int, sortmode) const
 
Array< octave::idx_vectorsort (int, sortmode) const
 
Array< octave_idx_typesort_rows_idx (sortmode) const
 
Array< octave_idx_typesort_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_vectordims () const
 Return a const-reference so that dims ()(i) works efficiently. More...
 
Array< T, Allocsqueeze () 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, Alloccolumn (octave_idx_type k) const
 Extract column: A(:,k+1). More...
 
Array< T, Allocpage (octave_idx_type k) const
 Extract page: A(:,:,k+1). More...
 
Array< T, Alloclinear_slice (octave_idx_type lo, octave_idx_type up) const
 Extract a slice from this array as a column vector: A(:)(lo+1:up). More...
 
Array< T, Allocreshape (octave_idx_type nr, octave_idx_type nc) const
 Size of the specified dimension. More...
 
Array< T, Allocreshape (const dim_vector &new_dims) const
 Size of the specified dimension. More...
 
Array< T, Allocpermute (const Array< octave_idx_type > &vec, bool inv=false) const
 Size of the specified dimension. More...
 
Array< T, Allocipermute (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, Alloctranspose () const
 Size of the specified dimension. More...
 
Array< T, Allochermitian (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, Allocindex (const octave::idx_vector &i) const
 Indexing without resizing. More...
 
Array< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j) const
 Size of the specified dimension. More...
 
Array< T, Allocindex (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, Allocindex (const octave::idx_vector &i, bool resize_ok, const T &rfv) const
 Indexing with possible resizing and fill. More...
 
Array< T, Allocindex (const octave::idx_vector &i, bool resize_ok) const
 Size of the specified dimension. More...
 
Array< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok, const T &rfv) const
 Size of the specified dimension. More...
 
Array< T, Allocindex (const octave::idx_vector &i, const octave::idx_vector &j, bool resize_ok) const
 Size of the specified dimension. More...
 
Array< T, Allocindex (const Array< octave::idx_vector > &ia, bool resize_ok, const T &rfv) const
 Size of the specified dimension. More...
 
Array< T, Allocindex (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, Allocsort (int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
Array< T, Allocsort (Array< octave_idx_type > &sidx, int dim=0, sortmode mode=ASCENDING) const
 Size of the specified dimension. More...
 
sortmode issorted (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 Sort by rows returns only indices. More...
 
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 Ordering is auto-detected or can be specified. More...
 
octave_idx_type lookup (const T &value, sortmode mode=UNSORTED) const
 Do a binary lookup in a sorted array. More...
 
Array< octave_idx_typelookup (const Array< T, 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_typefind (octave_idx_type n=-1, bool backward=false) const
 Find indices of (at most n) nonzero elements. More...
 
Array< T, Allocnth_element (const octave::idx_vector &n, int dim=0) const
 Returns the n-th element in increasing order, using the same ordering as used for sort. More...
 
Array< T, Allocdiag (octave_idx_type k=0) const
 Get the kth super or subdiagonal. More...
 
Array< T, Allocdiag (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, Amap (F fcn) const
 Apply function fcn to each element of the Array<T, Alloc>. More...
 
template<typename U , typename A = std::allocator<U>>
Array< U, Amap (U(&fcn)(T)) const
 Overloads for function references. More...
 
template<typename U , typename A = std::allocator<U>>
Array< U, Amap (U(&fcn)(const T &)) const
 Size of the specified dimension. More...
 
template<typename F , bool zero>
bool test (F fcn) const
 Generic any/all test functionality with arbitrary predicate. More...
 
template<typename F >
bool test_any (F fcn) const
 Simpler calls. More...
 
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, Alloccat (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 >::ArrayRepm_rep
 
T * m_slice_data
 
octave_idx_type m_slice_len
 

Detailed Description

Definition at line 39 of file fMatrix.h.

Member Typedef Documentation

◆ column_vector_type

Definition at line 45 of file fMatrix.h.

◆ complex_diag_matrix_type

◆ complex_elt_type

Definition at line 58 of file fMatrix.h.

◆ complex_matrix_type

Definition at line 52 of file fMatrix.h.

◆ real_column_vector_type

◆ real_diag_matrix_type

Definition at line 54 of file fMatrix.h.

◆ real_elt_type

Definition at line 57 of file fMatrix.h.

◆ real_matrix_type

Definition at line 51 of file fMatrix.h.

◆ real_row_vector_type

Definition at line 49 of file fMatrix.h.

◆ row_vector_type

Definition at line 46 of file fMatrix.h.

◆ solve_singularity_handler

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

Definition at line 60 of file fMatrix.h.

Constructor & Destructor Documentation

◆ FloatMatrix() [1/16]

FloatMatrix::FloatMatrix ( )
default

Referenced by lssolve(), and pseudo_inverse().

◆ FloatMatrix() [2/16]

FloatMatrix::FloatMatrix ( const FloatMatrix a)
default

◆ ~FloatMatrix()

FloatMatrix::~FloatMatrix ( )
default

◆ FloatMatrix() [3/16]

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

Definition at line 70 of file fMatrix.h.

◆ FloatMatrix() [4/16]

FloatMatrix::FloatMatrix ( octave_idx_type  r,
octave_idx_type  c,
float  val 
)
inline

Definition at line 73 of file fMatrix.h.

◆ FloatMatrix() [5/16]

FloatMatrix::FloatMatrix ( const dim_vector dv)
inline

Definition at line 76 of file fMatrix.h.

◆ FloatMatrix() [6/16]

FloatMatrix::FloatMatrix ( const dim_vector dv,
float  val 
)
inline

Definition at line 78 of file fMatrix.h.

◆ FloatMatrix() [7/16]

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

Definition at line 82 of file fMatrix.h.

◆ FloatMatrix() [8/16]

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

Definition at line 85 of file fMatrix.h.

◆ FloatMatrix() [9/16]

FloatMatrix::FloatMatrix ( const FloatRowVector rv)
explicit

Definition at line 70 of file fMatrix.cc.

◆ FloatMatrix() [10/16]

FloatMatrix::FloatMatrix ( const FloatColumnVector cv)
explicit

Definition at line 74 of file fMatrix.cc.

◆ FloatMatrix() [11/16]

FloatMatrix::FloatMatrix ( const FloatDiagMatrix a)
explicit

◆ FloatMatrix() [12/16]

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

◆ FloatMatrix() [13/16]

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

◆ FloatMatrix() [14/16]

FloatMatrix::FloatMatrix ( const PermMatrix a)
explicit

◆ FloatMatrix() [15/16]

FloatMatrix::FloatMatrix ( const boolMatrix a)
explicit

Definition at line 110 of file fMatrix.cc.

◆ FloatMatrix() [16/16]

FloatMatrix::FloatMatrix ( const charMatrix a)
explicit

Member Function Documentation

◆ abs()

FloatMatrix FloatMatrix::abs ( ) const

Definition at line 2411 of file fMatrix.cc.

References FloatNDArray::abs().

◆ append() [1/4]

FloatMatrix FloatMatrix::append ( const FloatColumnVector a) const

◆ append() [2/4]

FloatMatrix FloatMatrix::append ( const FloatDiagMatrix a) const

◆ append() [3/4]

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().

◆ append() [4/4]

FloatMatrix FloatMatrix::append ( const FloatRowVector a) const

◆ column()

FloatColumnVector FloatMatrix::column ( octave_idx_type  i) const

◆ column_max() [1/2]

FloatRowVector FloatMatrix::column_max ( ) const

Definition at line 2604 of file fMatrix.cc.

◆ column_max() [2/2]

◆ column_min() [1/2]

FloatRowVector FloatMatrix::column_min ( ) const

Definition at line 2549 of file fMatrix.cc.

◆ column_min() [2/2]

◆ cumprod()

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

Definition at line 2381 of file fMatrix.cc.

References FloatNDArray::cumprod().

◆ cumsum()

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

Definition at line 2387 of file fMatrix.cc.

References FloatNDArray::cumsum().

◆ determinant() [1/4]

FloatDET FloatMatrix::determinant ( ) const

Definition at line 864 of file fMatrix.cc.

Referenced by determinant().

◆ determinant() [2/4]

◆ determinant() [3/4]

FloatDET FloatMatrix::determinant ( octave_idx_type info) const

Definition at line 872 of file fMatrix.cc.

References determinant().

◆ determinant() [4/4]

FloatDET FloatMatrix::determinant ( octave_idx_type info,
float &  rcon,
bool  calc_cond = true 
) const

Definition at line 879 of file fMatrix.cc.

References determinant().

◆ diag() [1/2]

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().

◆ diag() [2/2]

FloatDiagMatrix FloatMatrix::diag ( octave_idx_type  m,
octave_idx_type  n 
) const

◆ extract()

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().

◆ extract_n()

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().

◆ fill() [1/2]

FloatMatrix & FloatMatrix::fill ( float  val)

◆ fill() [2/2]

◆ fourier()

◆ fourier2d()

◆ hermitian()

FloatMatrix FloatMatrix::hermitian ( ) const
inline

Definition at line 139 of file fMatrix.h.

References MArray< T >::transpose().

◆ ifourier()

FloatComplexMatrix FloatMatrix::ifourier ( ) const

◆ ifourier2d()

FloatComplexMatrix FloatMatrix::ifourier2d ( ) const

◆ insert() [1/4]

◆ insert() [2/4]

◆ insert() [3/4]

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.

Referenced by append(), and stack().

◆ insert() [4/4]

◆ inverse() [1/6]

FloatMatrix FloatMatrix::inverse ( ) const

Definition at line 457 of file fMatrix.cc.

Referenced by inverse().

◆ inverse() [2/6]

FloatMatrix FloatMatrix::inverse ( MatrixType mattype) const

Definition at line 482 of file fMatrix.cc.

References inverse().

◆ inverse() [3/6]

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

Definition at line 490 of file fMatrix.cc.

References inverse().

◆ inverse() [4/6]

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.

◆ inverse() [5/6]

FloatMatrix FloatMatrix::inverse ( octave_idx_type info) const

Definition at line 466 of file fMatrix.cc.

References inverse().

◆ inverse() [6/6]

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().

◆ issymmetric()

bool FloatMatrix::issymmetric ( ) const

◆ lssolve() [1/16]

FloatColumnVector FloatMatrix::lssolve ( const FloatColumnVector b) const

Definition at line 2151 of file fMatrix.cc.

References lssolve().

◆ lssolve() [2/16]

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

Definition at line 2160 of file fMatrix.cc.

References lssolve().

◆ lssolve() [3/16]

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().

◆ lssolve() [4/16]

◆ lssolve() [5/16]

FloatComplexColumnVector FloatMatrix::lssolve ( const FloatComplexColumnVector b) const

Definition at line 2279 of file fMatrix.cc.

References FloatComplexMatrix::lssolve().

◆ lssolve() [6/16]

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

Definition at line 2289 of file fMatrix.cc.

References FloatComplexMatrix::lssolve().

◆ lssolve() [7/16]

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().

◆ lssolve() [8/16]

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().

◆ lssolve() [9/16]

FloatComplexMatrix FloatMatrix::lssolve ( const FloatComplexMatrix b) const

Definition at line 2115 of file fMatrix.cc.

References FloatComplexMatrix::lssolve().

◆ lssolve() [10/16]

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

Definition at line 2125 of file fMatrix.cc.

References FloatComplexMatrix::lssolve().

◆ lssolve() [11/16]

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().

◆ lssolve() [12/16]

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().

◆ lssolve() [13/16]

FloatMatrix FloatMatrix::lssolve ( const FloatMatrix b) const

Definition at line 1927 of file fMatrix.cc.

Referenced by lssolve(), and solve().

◆ lssolve() [14/16]

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

Definition at line 1936 of file fMatrix.cc.

References lssolve().

◆ lssolve() [15/16]

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().

◆ lssolve() [16/16]

◆ operator!=()

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

Definition at line 132 of file fMatrix.cc.

◆ operator+=()

◆ operator-=()

◆ operator=()

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

◆ operator==()

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

◆ prod()

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

Definition at line 2393 of file fMatrix.cc.

References FloatNDArray::prod().

◆ pseudo_inverse()

◆ rcond() [1/2]

float FloatMatrix::rcond ( ) const

Definition at line 1038 of file fMatrix.cc.

◆ rcond() [2/2]

◆ resize()

void FloatMatrix::resize ( octave_idx_type  nr,
octave_idx_type  nc,
float  rfv = 0 
)
inline

Definition at line 158 of file fMatrix.h.

References Array< T >::resize().

◆ row()

FloatRowVector FloatMatrix::row ( octave_idx_type  i) const

Definition at line 422 of file fMatrix.cc.

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

◆ row_max() [1/2]

FloatColumnVector FloatMatrix::row_max ( ) const

Definition at line 2494 of file fMatrix.cc.

◆ row_max() [2/2]

◆ row_min() [1/2]

FloatColumnVector FloatMatrix::row_min ( ) const

Definition at line 2439 of file fMatrix.cc.

◆ row_min() [2/2]

◆ solve() [1/32]

FloatColumnVector FloatMatrix::solve ( const FloatColumnVector b) const

Definition at line 1865 of file fMatrix.cc.

References solve().

◆ solve() [2/32]

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

Definition at line 1872 of file fMatrix.cc.

References solve().

◆ solve() [3/32]

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

Definition at line 1879 of file fMatrix.cc.

References solve().

◆ solve() [4/32]

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().

◆ solve() [5/32]

FloatComplexColumnVector FloatMatrix::solve ( const FloatComplexColumnVector b) const

Definition at line 1895 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [6/32]

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

Definition at line 1902 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [7/32]

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

Definition at line 1910 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [8/32]

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().

◆ solve() [9/32]

FloatComplexMatrix FloatMatrix::solve ( const FloatComplexMatrix b) const

Definition at line 1833 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [10/32]

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

Definition at line 1840 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [11/32]

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

Definition at line 1847 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [12/32]

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().

◆ solve() [13/32]

FloatMatrix FloatMatrix::solve ( const FloatMatrix b) const

Definition at line 1802 of file fMatrix.cc.

References solve().

◆ solve() [14/32]

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

Definition at line 1810 of file fMatrix.cc.

References solve().

◆ solve() [15/32]

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

Definition at line 1817 of file fMatrix.cc.

References solve().

◆ solve() [16/32]

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().

◆ solve() [17/32]

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

Definition at line 1733 of file fMatrix.cc.

References solve().

◆ solve() [18/32]

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

Definition at line 1741 of file fMatrix.cc.

References solve().

◆ solve() [19/32]

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().

◆ solve() [20/32]

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.

References column(), and solve().

◆ solve() [21/32]

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

Definition at line 1768 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [22/32]

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

Definition at line 1776 of file fMatrix.cc.

References FloatComplexMatrix::solve().

◆ solve() [23/32]

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().

◆ solve() [24/32]

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().

◆ solve() [25/32]

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

Definition at line 1666 of file fMatrix.cc.

References solve().

◆ solve() [26/32]

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

Definition at line 1674 of file fMatrix.cc.

References solve().

◆ solve() [27/32]

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().

◆ solve() [28/32]

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.

◆ solve() [29/32]

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

Definition at line 1608 of file fMatrix.cc.

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

◆ solve() [30/32]

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

Definition at line 1616 of file fMatrix.cc.

References solve().

◆ solve() [31/32]

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().

◆ solve() [32/32]

◆ stack() [1/4]

FloatMatrix FloatMatrix::stack ( const FloatColumnVector a) const

◆ stack() [2/4]

FloatMatrix FloatMatrix::stack ( const FloatDiagMatrix a) const

◆ stack() [3/4]

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().

◆ stack() [4/4]

FloatMatrix FloatMatrix::stack ( const FloatRowVector a) const

◆ sum()

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

Definition at line 2399 of file fMatrix.cc.

References FloatNDArray::sum().

◆ sumsq()

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

Definition at line 2405 of file fMatrix.cc.

References FloatNDArray::sumsq().

◆ transpose()

FloatMatrix FloatMatrix::transpose ( ) const
inline

Definition at line 140 of file fMatrix.h.

References MArray< T >::transpose().

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

Friends And Related Function Documentation

◆ FloatComplexMatrix

friend class FloatComplexMatrix
friend

Definition at line 137 of file fMatrix.h.

◆ imag

FloatMatrix imag ( const FloatComplexMatrix a)
friend

Definition at line 397 of file fMatrix.cc.

◆ operator<<

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

Definition at line 2658 of file fMatrix.cc.

◆ operator>>

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

Definition at line 2674 of file fMatrix.cc.

◆ real

FloatMatrix real ( const FloatComplexMatrix a)
friend

Definition at line 391 of file fMatrix.cc.


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