finitediff
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SNplu< T, tp_size > Class Template Reference

#include <SNplu.h>

Public Member Functions

SNpermutation< T, tp_size > getP () const
 
SNlowerTriangular< T, tp_size > getL () const
 
SNupperTriangular< T, tp_size > getU () const
 
Mpermutation< tp_size > getMpermutation () const
 

Private Member Functions

void _setU (const SNmatrix< T, tp_size > &A)
 
void _setL (const SNmatrix< T, tp_size > &A)
 

Private Attributes

Mpermutation< tp_size > data_P
 
SNlowerTriangular< T, tp_size > data_L
 
SNupperTriangular< T, tp_size > data_U
 

Friends

SNplu< T, tp_size > SNmatrix () const
 

Member Function Documentation

template<class T , unsigned int tp_size>
void SNplu< T, tp_size >::_setL ( const SNmatrix< T, tp_size > &  A)
private

'_setL' takes a matrix and says that this is the 'L' one.

  • does not check that A is actually lower diagonale
  • erases the old L matrix.
  • only to be used at the end of the building process of the PLU decomposition, when the initial matrix is transformed into the lower diagonal one.
template<class T , unsigned int tp_size>
void SNplu< T, tp_size >::_setU ( const SNmatrix< T, tp_size > &  A)
private

'_setU' takes a matrix and says that this is the 'U' one.

  • does not check that A is actually upper diagonale
  • erases the old U matrix.
  • only to be used at the end of the building process of the PLU decomposition, when the initial matrix is transformed into an upper diagonal one.
template<class T , unsigned int tp_size>
SNlowerTriangular< T, tp_size > SNplu< T, tp_size >::getL ( ) const
template<class T , unsigned int tp_size>
Mpermutation< tp_size > SNplu< T, tp_size >::getMpermutation ( ) const
template<class T , unsigned int tp_size>
SNpermutation< T, tp_size > SNplu< T, tp_size >::getP ( ) const
template<class T , unsigned int tp_size>
SNupperTriangular< T, tp_size > SNplu< T, tp_size >::getU ( ) const

Friends And Related Function Documentation

template<class T, unsigned int tp_size>
SNplu<T,tp_size> SNmatrix ( ) const
friend

Member Data Documentation

template<class T, unsigned int tp_size>
SNlowerTriangular<T,tp_size> SNplu< T, tp_size >::data_L
private
template<class T, unsigned int tp_size>
Mpermutation<tp_size> SNplu< T, tp_size >::data_P
private
template<class T, unsigned int tp_size>
SNupperTriangular<T,tp_size> SNplu< T, tp_size >::data_U
private

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