casa
5.7.0-16
|
On suns, at least, this needs to link with: lapack.a blas.a Since this links fortran libraries, check also whether "underscores" are needed for FORTRAN on your machine, and whether a FORTRAN MAIN is needed to initialize the fortran libraries (as it is on suns). More...
#include <MatrixMath.h>
Public Member Functions | |
LUdecomp () | |
LUdecomp (casacore::Matrix< T > &) | |
LUdecomp (const LUdecomp< T > &) | |
casacore::Matrix< T > | getUpper () const |
The copy constructor uses reference semantics. More... | |
casacore::Matrix< T > | getLower () const |
casacore::Matrix< T > | getPerm () const |
casacore::Matrix< T > | getLU () const |
casacore::Block< casacore::Int > | getPivot () const |
Private Attributes | |
casacore::Matrix< T > | LU |
casacore::Block< casacore::Int > | thePivot |
On suns, at least, this needs to link with: lapack.a blas.a Since this links fortran libraries, check also whether "underscores" are needed for FORTRAN on your machine, and whether a FORTRAN MAIN is needed to initialize the fortran libraries (as it is on suns).
This is needed on Sun machines, likely not on IBM. Should be set in makedefs.
LUdecomp objects are a 2-D template matrix of numeric type which contains (in packed form) a Lower Triangular (L) and Upper Triangular (U) factorization of some numeric type matrix (A) and a block of integer type which contains (in packed form) the Permutation casacore::Matrix (P), i.e. A=PLU. The data members are filled by the LUdecomp constructors calling LAPACK's Fortran xGETRF subroutine.
Definition at line 36 of file MatrixMath.h.
LUdecomp< T >::LUdecomp | ( | casacore::Matrix< T > & | ) |
casacore::Matrix<T> LUdecomp< T >::getLower | ( | ) | const |
|
inline |
Definition at line 65 of file LUdecomp.h.
References LUdecomp< T >::LU.
casacore::Matrix<T> LUdecomp< T >::getPerm | ( | ) | const |
|
inline |
Definition at line 66 of file LUdecomp.h.
References LUdecomp< T >::thePivot.
casacore::Matrix<T> LUdecomp< T >::getUpper | ( | ) | const |
The copy constructor uses reference semantics.
|
private |
Definition at line 69 of file LUdecomp.h.
Referenced by LUdecomp< T >::getLU().
|
private |
Definition at line 70 of file LUdecomp.h.
Referenced by LUdecomp< T >::getPivot().