Expression Templates Library (ETL)
Functions
decomposition.hpp File Reference

Standard implementation of the decompositions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename AT , typename LT , typename UT , typename PT >
void etl::impl::standard::lu (const AT &A, LT &L, UT &U, PT &P)
 Performs the PA=LU decomposition of the matrix A. More...
 
template<typename AT , typename QT , typename RT >
void etl::impl::standard::householder (AT &A, QT &Q, RT &R)
 Use the householder algorithm to perform the A=QR decomposition of the matrix A. More...
 
template<typename AT , typename QT , typename RT >
void etl::impl::standard::qr (AT &A, QT &Q, RT &R)
 Performs the A=QR decomposition of the matrix A. More...
 

Detailed Description

Standard implementation of the decompositions.

Function Documentation

◆ householder()

template<typename AT , typename QT , typename RT >
void etl::impl::standard::householder ( AT &  A,
QT &  Q,
RT &  R 
)

Use the householder algorithm to perform the A=QR decomposition of the matrix A.

Parameters
AThe matrix to decompose
QThe resulting Q matrix
RThe resulting R matrix

◆ lu()

template<typename AT , typename LT , typename UT , typename PT >
void etl::impl::standard::lu ( const AT &  A,
LT &  L,
UT &  U,
PT &  P 
)

Performs the PA=LU decomposition of the matrix A.

Parameters
AThe matrix to decompose
LThe resulting L matrix
UThe resulting U matrix
PThe resulting P matrix

◆ qr()

template<typename AT , typename QT , typename RT >
void etl::impl::standard::qr ( AT &  A,
QT &  Q,
RT &  R 
)

Performs the A=QR decomposition of the matrix A.

Parameters
AThe matrix to decompose
QThe resulting Q matrix
RThe resulting R matrix