SparseLU< MatrixType, SuperLU > Class Template Reference

#include <SuperLUSupport.h>

Inheritance diagram for SparseLU< MatrixType, SuperLU >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void compute (const MatrixType &matrix)
Scalar determinant () const
const LMatrixTypematrixL () const
const UMatrixTypematrixU () const
const IntColVectorTypepermutationP () const
const IntRowVectorTypepermutationQ () const
template<typename BDerived , typename XDerived >
bool solve (const MatrixBase< BDerived > &b, MatrixBase< XDerived > *x) const
 SparseLU (const MatrixType &matrix, int flags=NaturalOrdering)
 SparseLU (int flags=NaturalOrdering)
 ~SparseLU ()

Protected Types

typedef SparseLU< MatrixType > Base
typedef Matrix< int,
MatrixType::RowsAtCompileTime, 1 > 
IntColVectorType
typedef Matrix< int,
1, MatrixType::ColsAtCompileTime > 
IntRowVectorType
typedef SparseMatrix< Scalar,
LowerTriangular|UnitDiagBit
LMatrixType
typedef Base::RealScalar RealScalar
typedef Base::Scalar Scalar
typedef SparseMatrix< Scalar,
UpperTriangular
UMatrixType
typedef Matrix< Scalar,
Dynamic, 1 > 
Vector

Protected Member Functions

void extractData () const

Protected Attributes

bool m_extractedDataAreDirty
LMatrixType m_l
SparseMatrix< Scalarm_matrix
IntColVectorType m_p
IntRowVectorType m_q
SluMatrix m_sluA
SluMatrix m_sluB
std::vector< RealScalarm_sluBerr
std::vector< RealScalarm_sluCscale
char m_sluEqued
std::vector< int > m_sluEtree
std::vector< RealScalarm_sluFerr
SuperMatrix m_sluL
superlu_options_t m_sluOptions
std::vector< RealScalarm_sluRscale
SuperLUStat_t m_sluStat
SuperMatrix m_sluU
SluMatrix m_sluX
UMatrixType m_u

Detailed Description

template<typename MatrixType>
class SparseLU< MatrixType, SuperLU >

Definition at line 261 of file SuperLUSupport.h.


Member Typedef Documentation

template<typename MatrixType >
typedef SparseLU<MatrixType> SparseLU< MatrixType, SuperLU >::Base [protected]

Definition at line 264 of file SuperLUSupport.h.

template<typename MatrixType >
typedef Matrix<int, MatrixType::RowsAtCompileTime, 1> SparseLU< MatrixType, SuperLU >::IntColVectorType [protected]

Definition at line 269 of file SuperLUSupport.h.

template<typename MatrixType >
typedef Matrix<int, 1, MatrixType::ColsAtCompileTime> SparseLU< MatrixType, SuperLU >::IntRowVectorType [protected]

Definition at line 268 of file SuperLUSupport.h.

template<typename MatrixType >
typedef SparseMatrix<Scalar,LowerTriangular|UnitDiagBit> SparseLU< MatrixType, SuperLU >::LMatrixType [protected]

Definition at line 270 of file SuperLUSupport.h.

template<typename MatrixType >
typedef Base::RealScalar SparseLU< MatrixType, SuperLU >::RealScalar [protected]

Reimplemented from SparseLU< MatrixType >.

Definition at line 266 of file SuperLUSupport.h.

template<typename MatrixType >
typedef Base::Scalar SparseLU< MatrixType, SuperLU >::Scalar [protected]

Reimplemented from SparseLU< MatrixType >.

Definition at line 265 of file SuperLUSupport.h.

template<typename MatrixType >
typedef SparseMatrix<Scalar,UpperTriangular> SparseLU< MatrixType, SuperLU >::UMatrixType [protected]

Definition at line 271 of file SuperLUSupport.h.

template<typename MatrixType >
typedef Matrix<Scalar,Dynamic,1> SparseLU< MatrixType, SuperLU >::Vector [protected]

Definition at line 267 of file SuperLUSupport.h.


Constructor & Destructor Documentation

template<typename MatrixType >
SparseLU< MatrixType, SuperLU >::SparseLU ( int  flags = NaturalOrdering  )  [inline]

Creates a dummy LU factorization object with flags flags.

Reimplemented from SparseLU< MatrixType >.

Definition at line 277 of file SuperLUSupport.h.

template<typename MatrixType >
SparseLU< MatrixType, SuperLU >::SparseLU ( const MatrixType &  matrix,
int  flags = NaturalOrdering 
) [inline]

Creates a LU object and compute the respective factorization of matrix using flags flags.

Reimplemented from SparseLU< MatrixType >.

Definition at line 282 of file SuperLUSupport.h.

template<typename MatrixType >
SparseLU< MatrixType, SuperLU >::~SparseLU (  )  [inline]

Definition at line 288 of file SuperLUSupport.h.


Member Function Documentation

template<typename MatrixType >
void SparseLU< MatrixType, SuperLU >::compute ( const MatrixType &  matrix  )  [inline]

Computes/re-computes the LU factorization

Reimplemented from SparseLU< MatrixType >.

Definition at line 348 of file SuperLUSupport.h.

template<typename MatrixType >
SparseLU< MatrixType, SuperLU >::Scalar SparseLU< MatrixType, SuperLU >::determinant (  )  const [inline]

Definition at line 541 of file SuperLUSupport.h.

template<typename MatrixType >
void SparseLU< MatrixType, SuperLU >::extractData (  )  const [inline, protected]

Definition at line 456 of file SuperLUSupport.h.

template<typename MatrixType >
const LMatrixType& SparseLU< MatrixType, SuperLU >::matrixL ( void   )  const [inline]

Definition at line 292 of file SuperLUSupport.h.

template<typename MatrixType >
const UMatrixType& SparseLU< MatrixType, SuperLU >::matrixU (  )  const [inline]

Definition at line 298 of file SuperLUSupport.h.

template<typename MatrixType >
const IntColVectorType& SparseLU< MatrixType, SuperLU >::permutationP (  )  const [inline]

Definition at line 304 of file SuperLUSupport.h.

template<typename MatrixType >
const IntRowVectorType& SparseLU< MatrixType, SuperLU >::permutationQ (  )  const [inline]

Definition at line 310 of file SuperLUSupport.h.

template<typename MatrixType >
template<typename BDerived , typename XDerived >
bool SparseLU< MatrixType, SuperLU >::solve ( const MatrixBase< BDerived > &  b,
MatrixBase< XDerived > *  x 
) const [inline]
Returns:
the lower triangular matrix L
the upper triangular matrix U

Reimplemented from SparseLU< MatrixType >.

Definition at line 414 of file SuperLUSupport.h.


Member Data Documentation

template<typename MatrixType >
bool SparseLU< MatrixType, SuperLU >::m_extractedDataAreDirty [mutable, protected]

Definition at line 344 of file SuperLUSupport.h.

template<typename MatrixType >
LMatrixType SparseLU< MatrixType, SuperLU >::m_l [mutable, protected]

Definition at line 329 of file SuperLUSupport.h.

template<typename MatrixType >
SparseMatrix<Scalar> SparseLU< MatrixType, SuperLU >::m_matrix [mutable, protected]

Definition at line 334 of file SuperLUSupport.h.

template<typename MatrixType >
IntColVectorType SparseLU< MatrixType, SuperLU >::m_p [mutable, protected]

Definition at line 331 of file SuperLUSupport.h.

template<typename MatrixType >
IntRowVectorType SparseLU< MatrixType, SuperLU >::m_q [mutable, protected]

Definition at line 332 of file SuperLUSupport.h.

template<typename MatrixType >
SluMatrix SparseLU< MatrixType, SuperLU >::m_sluA [mutable, protected]

Definition at line 335 of file SuperLUSupport.h.

template<typename MatrixType >
SluMatrix SparseLU< MatrixType, SuperLU >::m_sluB [mutable, protected]

Definition at line 337 of file SuperLUSupport.h.

template<typename MatrixType >
std::vector<RealScalar> SparseLU< MatrixType, SuperLU >::m_sluBerr [mutable, protected]

Definition at line 342 of file SuperLUSupport.h.

template<typename MatrixType >
std::vector<RealScalar> SparseLU< MatrixType, SuperLU >::m_sluCscale [mutable, protected]

Definition at line 341 of file SuperLUSupport.h.

template<typename MatrixType >
char SparseLU< MatrixType, SuperLU >::m_sluEqued [mutable, protected]

Definition at line 343 of file SuperLUSupport.h.

template<typename MatrixType >
std::vector<int> SparseLU< MatrixType, SuperLU >::m_sluEtree [mutable, protected]

Definition at line 340 of file SuperLUSupport.h.

template<typename MatrixType >
std::vector<RealScalar> SparseLU< MatrixType, SuperLU >::m_sluFerr [mutable, protected]

Definition at line 342 of file SuperLUSupport.h.

template<typename MatrixType >
SuperMatrix SparseLU< MatrixType, SuperLU >::m_sluL [mutable, protected]

Definition at line 336 of file SuperLUSupport.h.

template<typename MatrixType >
superlu_options_t SparseLU< MatrixType, SuperLU >::m_sluOptions [mutable, protected]

Definition at line 339 of file SuperLUSupport.h.

template<typename MatrixType >
std::vector<RealScalar> SparseLU< MatrixType, SuperLU >::m_sluRscale [mutable, protected]

Definition at line 341 of file SuperLUSupport.h.

template<typename MatrixType >
SuperLUStat_t SparseLU< MatrixType, SuperLU >::m_sluStat [mutable, protected]

Definition at line 338 of file SuperLUSupport.h.

template<typename MatrixType >
SuperMatrix SparseLU< MatrixType, SuperLU >::m_sluU [mutable, protected]

Definition at line 336 of file SuperLUSupport.h.

template<typename MatrixType >
SluMatrix SparseLU< MatrixType, SuperLU >::m_sluX [mutable, protected]

Definition at line 337 of file SuperLUSupport.h.

template<typename MatrixType >
UMatrixType SparseLU< MatrixType, SuperLU >::m_u [mutable, protected]

Definition at line 330 of file SuperLUSupport.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:24 2013