![]() |
LAPACK LU-based inversion functions (getri) | |
void | blaze::getri (int n, float *A, int lda, const int *ipiv, float *work, int lwork, int *info) |
LAPACK kernel for the inversion of the given dense general single precision column-major square matrix. More... | |
void | blaze::getri (int n, double *A, int lda, const int *ipiv, double *work, int lwork, int *info) |
LAPACK kernel for the inversion of the given dense general double precision column-major square matrix. More... | |
void | blaze::getri (int n, complex< float > *A, int lda, const int *ipiv, complex< float > *work, int lwork, int *info) |
LAPACK kernel for the inversion of the given dense general single precision complex column-major square matrix. More... | |
void | blaze::getri (int n, complex< double > *A, int lda, const int *ipiv, complex< double > *work, int lwork, int *info) |
LAPACK kernel for the inversion of the given dense general double precision complex column-major square matrix. More... | |
template<typename MT , bool SO> | |
void | blaze::getri (DenseMatrix< MT, SO > &A, const int *ipiv) |
LAPACK kernel for the inversion of the given dense general matrix. More... | |
LAPACK LDLH-based inversion functions (hetri) | |
void | blaze::hetri (char uplo, int n, complex< float > *A, int lda, const int *ipiv, complex< float > *work, int *info) |
LAPACK kernel for the inversion of the given dense Hermitian indefinite single precision complex column-major square matrix. More... | |
void | blaze::hetri (char uplo, int n, complex< double > *A, int lda, const int *ipiv, complex< double > *work, int *info) |
LAPACK kernel for the inversion of the given dense Hermitian indefinite double precision complex column-major square matrix. More... | |
template<typename MT , bool SO> | |
void | blaze::hetri (DenseMatrix< MT, SO > &A, char uplo, const int *ipiv) |
LAPACK kernel for the inversion of the given dense Hermitian indefinite matrix. More... | |
LAPACK LLH-based inversion functions (potri) | |
void | blaze::potri (char uplo, int n, float *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense positive definite single precision column-major square matrix. More... | |
void | blaze::potri (char uplo, int n, double *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense positive definite double precision column-major square matrix. More... | |
void | blaze::potri (char uplo, int n, complex< float > *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense positive definite single precision complex column-major square matrix. More... | |
void | blaze::potri (char uplo, int n, complex< double > *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense positive definite double precision complex column-major square matrix. More... | |
template<typename MT , bool SO> | |
void | blaze::potri (DenseMatrix< MT, SO > &A, char uplo) |
LAPACK kernel for the inversion of the given dense positive definite matrix. More... | |
LAPACK LDLT-based inversion functions (sytri) | |
void | blaze::sytri (char uplo, int n, float *A, int lda, const int *ipiv, float *work, int *info) |
LAPACK kernel for the inversion of the given dense symmetric indefinite single precision column-major square matrix. More... | |
void | blaze::sytri (char uplo, int n, double *A, int lda, const int *ipiv, double *work, int *info) |
LAPACK kernel for the inversion of the given dense symmetric indefinite double precision column-major square matrix. More... | |
void | blaze::sytri (char uplo, int n, complex< float > *A, int lda, const int *ipiv, complex< float > *work, int *info) |
LAPACK kernel for the inversion of the given dense symmetric indefinite single precision complex column-major square matrix. More... | |
void | blaze::sytri (char uplo, int n, complex< double > *A, int lda, const int *ipiv, complex< double > *work, int *info) |
LAPACK kernel for the inversion of the given dense symmetric indefinite double precision complex column-major square matrix. More... | |
template<typename MT , bool SO> | |
void | blaze::sytri (DenseMatrix< MT, SO > &A, char uplo, const int *ipiv) |
LAPACK kernel for the inversion of the given dense symmetric indefinite matrix. More... | |
LAPACK triangular matrix inversion functions (trtri) | |
void | blaze::trtri (char uplo, char diag, int n, float *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense triangular single precision column-major matrix. More... | |
void | blaze::trtri (char uplo, char diag, int n, double *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense triangular double precision column-major matrix. More... | |
void | blaze::trtri (char uplo, char diag, int n, complex< float > *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense triangular single precision complex column-major matrix. More... | |
void | blaze::trtri (char uplo, char diag, int n, complex< double > *A, int lda, int *info) |
LAPACK kernel for the inversion of the given dense triangular double precision complex column-major matrix. More... | |
template<typename MT , bool SO> | |
void | blaze::trtri (DenseMatrix< MT, SO > &A, char uplo, char diag) |
LAPACK kernel for the inversion of the given dense triangular matrix. More... | |
|
inline |
LAPACK kernel for the inversion of the given dense general single precision column-major square matrix.
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the single precision column-major square matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array for the pivot indices; size >= min( m, n ). |
work | Auxiliary array; size >= max( 1, lwork ). |
lwork | The dimension of the array work; size >= max( 1, n ). |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK sgetri() function for single precision column-major matrices that have already been factorized by the sgetrf() function. The info argument provides feedback on the success of the function call:
If the function exits successfully (i.e. info = 0) then the first element of the work array returns the optimal lwork. For optimal performance lwork >= N*NB, where NB is the optimal blocksize returned by the LAPACK function ilaenv(). If lwork = -1 then a workspace query is assumed. The function only calculates the optimal size of the work array and returns this value as the first entry of the work array.
For more information on the sgetri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense general double precision column-major square matrix.
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the double precision column-major square matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array for the pivot indices; size >= min( m, n ). |
work | Auxiliary array; size >= max( 1, lwork ). |
lwork | The dimension of the array work; size >= max( 1, n ). |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK dgetri() function for double precision column-major matrices that have already been factorized by the dgetrf() function. The info argument provides feedback on the success of the function call:
If the function exits successfully (i.e. info = 0) then the first element of the work array returns the optimal lwork. For optimal performance lwork >= N*NB, where NB is the optimal blocksize returned by the LAPACK function ilaenv(). If lwork = -1 then a workspace query is assumed. The function only calculates the optimal size of the work array and returns this value as the first entry of the work array.
For more information on the sgetri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense general single precision complex column-major square matrix.
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the single precision complex column-major square matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array for the pivot indices; size >= min( m, n ). |
work | Auxiliary array; size >= max( 1, lwork ). |
lwork | The dimension of the array work; size >= max( 1, n ). |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK cgetri() function for single precision complex column-major matrices that have already been factorized by the cgetrf() function. The info argument provides feedback on the success of the function call:
If the function exits successfully (i.e. info = 0) then the first element of the work array returns the optimal lwork. For optimal performance lwork >= N*NB, where NB is the optimal blocksize returned by the LAPACK function ilaenv(). If lwork = -1 then a workspace query is assumed. The function only calculates the optimal size of the work array and returns this value as the first entry of the work array.
For more information on the sgetri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense general double precision complex column-major square matrix.
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the double precision complex column-major square matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array for the pivot indices; size >= min( m, n ). |
work | Auxiliary array; size >= max( 1, lwork ). |
lwork | The dimension of the array work; size >= max( 1, n ). |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK cgetri() function for double precision complex column-major matrices that have already been factorized by the zgetrf() function. The info argument provides feedback on the success of the function call:
If the function exits successfully (i.e. info = 0) then the first element of the work array returns the optimal lwork. For optimal performance lwork >= N*NB, where NB is the optimal blocksize returned by the LAPACK function ilaenv(). If lwork = -1 then a workspace query is assumed. The function only calculates the optimal size of the work array and returns this value as the first entry of the work array.
For more information on the sgetri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense general matrix.
A | The matrix to be inverted. |
ipiv | Auxiliary array for the pivot indices; size >= min( m, n ). |
std::invalid_argument | Invalid non-square matrix provided. |
std::invalid_argument | Inversion of singular matrix failed. |
This function performs the dense matrix inversion based on the LAPACK getri() functions for matrices that have already been factorized by the getrf() functions. Note that the function only works for general, non-adapted matrices with float
, double
, complex<float>
, or complex<double>
element type. The attempt to call the function with adaptors or matrices of any other element type results in a compile time error!
The function fails if ...
In all failure cases a std::invalid_argument exception is thrown.
For more information on the getri() functions (i.e. sgetri(), dgetri(), cgetri(), and zgetri()) see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense Hermitian indefinite single precision complex column-major square matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
n | The number of rows/columns of the Hermitian matrix ![]() |
A | Pointer to the first element of the single precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array of size n for the pivot indices. |
work | Auxiliary array of size n. |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK chetri() function for Hermitian indefinite single precision complex column-major matrices that have already been factorized by the chetrf() function.
The info argument provides feedback on the success of the function call:
For more information on the chetri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense Hermitian indefinite double precision complex column-major square matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
n | The number of rows/columns of the Hermitian matrix ![]() |
A | Pointer to the first element of the double precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array of size n for the pivot indices. |
work | Auxiliary array of size n. |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK zhetri() function for Hermitian indefinite double precision complex column-major matrices that have already been factorized by the zhetrf() function.
The info argument provides feedback on the success of the function call:
For more information on the zhetri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense Hermitian indefinite matrix.
A | The triangular matrix to be inverted. |
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
ipiv | Auxiliary array of size n for the pivot indices. |
std::invalid_argument | Invalid non-square matrix provided. |
std::invalid_argument | Invalid uplo argument provided. |
std::invalid_argument | Inversion of singular matrix failed. |
This function performs the dense matrix inversion based on the LAPACK hetri() functions for Hermitian indefinite matrices that have already been factorized by the hetrf() functions. Note that the function only works for general, non-adapted matrices with float
, double
, complex<float>
, or complex<double>
element type. The attempt to call the function with adaptors or matrices of any other element type results in a compile time error!
The function fails if ...
'L'
nor 'U'
;In all failure cases a std::invalid_argument exception is thrown.
For more information on the hetri() functions (i.e. chetri() and zhetri()) see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense positive definite single precision column-major square matrix.
uplo | 'L' to use the lower part of the matrix, 'U' to use the upper part. |
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the single precision column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK spotri() function for positive-definite single precision column-major matrices that have already been factorized by the spotrf() function. The resulting symmetric inverse of A is stored either in the lower part of A (uplo = 'L'
) or in the upper part (uplo = 'U'
).
The info argument provides feedback on the success of the function call:
For more information on the spotri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense positive definite double precision column-major square matrix.
uplo | 'L' to use the lower part of the matrix, 'U' to use the upper part. |
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the double precision column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK dpotri() function for positive-definite double precision column-major matrices that have already been factorized by the dpotrf() function. The resulting symmetric inverse of A is stored either in the lower part of A (uplo = 'L'
) or in the upper part (uplo = 'U'
).
The info argument provides feedback on the success of the function call:
For more information on the spotri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense positive definite single precision complex column-major square matrix.
uplo | 'L' to use the lower part of the matrix, 'U' to use the upper part. |
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the single precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK cpotri() function for positive-definite single precision complex column-major matrices that have already been factorized by the cpotrf() function. The resulting symmetric inverse of A is stored either in the lower part of A (uplo = 'L'
) or in the upper part (uplo = 'U'
).
The info argument provides feedback on the success of the function call:
For more information on the cpotri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense positive definite double precision complex column-major square matrix.
uplo | 'L' to use the lower part of the matrix, 'U' to use the upper part. |
n | The number of rows/columns of the matrix ![]() |
A | Pointer to the first element of the double precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK zpotri() function for positive-definite double precision complex column-major matrices that have already been factorized by the zpotrf() function. The resulting symmetric inverse of A is stored either in the lower part of A (uplo = 'L'
) or in the upper part (uplo = 'U'
).
The info argument provides feedback on the success of the function call:
For more information on the zpotri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense positive definite matrix.
A | The positive-definite matrix to be inverted. |
uplo | 'L' to use the lower part of the matrix, 'U' to use the upper part. |
std::invalid_argument | Invalid non-square matrix provided. |
std::invalid_argument | Invalid uplo argument provided. |
std::invalid_argument | Inversion of singular matrix failed. |
This function performs the dense matrix inversion based on the LAPACK potri() functions for positive-definite matrices that have already been factorized by the potrf() functions. The resulting symmetric inverse of the given matrix A is stored either in the lower part of A (uplo = 'L'
) or in the upper part (uplo = 'U'
). Note that the function only works for general, non-adapted matrices with float
, double
, complex<float>
, or complex<double>
element type. The attempt to call the function with adaptors or matrices of any other element type results in a compile time error!
The function fails if ...
'L'
nor 'U'
;In all failure cases a std::invalid_argument exception is thrown.
For more information on the potri() functions (i.e. spotri(), dpotri(), cpotri(), and zpotri()) see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense symmetric indefinite single precision column-major square matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
n | The number of rows/columns of the symmetric matrix ![]() |
A | Pointer to the first element of the single precision column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array of size n for the pivot indices. |
work | Auxiliary array of size n. |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK ssytri() function for symmetric indefinite single precision column-major matrices that have already been factorized by the ssytrf() function.
The info argument provides feedback on the success of the function call:
For more information on the ssytri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense symmetric indefinite double precision column-major square matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
n | The number of rows/columns of the symmetric matrix ![]() |
A | Pointer to the first element of the double precision column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array of size n for the pivot indices. |
work | Auxiliary array of size n. |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK dsytri() function for symmetric indefinite double precision column-major matrices that have already been factorized by the dsytrf() function.
The info argument provides feedback on the success of the function call:
For more information on the dsytri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense symmetric indefinite single precision complex column-major square matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
n | The number of rows/columns of the symmetric matrix ![]() |
A | Pointer to the first element of the single precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array of size n for the pivot indices. |
work | Auxiliary array of size n. |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK csytri() function for symmetric indefinite single precision complex column-major matrices that have already been factorized by the csytrf() function.
The info argument provides feedback on the success of the function call:
For more information on the csytri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense symmetric indefinite double precision complex column-major square matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
n | The number of rows/columns of the symmetric matrix ![]() |
A | Pointer to the first element of the double precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
ipiv | Auxiliary array of size n for the pivot indices. |
work | Auxiliary array of size n. |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK zsytri() function for symmetric indefinite double precision complex column-major matrices that have already been factorized by the zsytrf() function.
The info argument provides feedback on the success of the function call:
For more information on the zsytri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense symmetric indefinite matrix.
A | The triangular matrix to be inverted. |
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
ipiv | Auxiliary array of size n for the pivot indices. |
std::invalid_argument | Invalid non-square matrix provided. |
std::invalid_argument | Invalid uplo argument provided. |
std::invalid_argument | Inversion of singular matrix failed. |
This function performs the dense matrix inversion based on the LAPACK sytri() functions for symmetric indefinite matrices that have already been factorized by the sytrf() functions. Note that the function only works for general, non-adapted matrices with float
, double
, complex<float>
, or complex<double>
element type. The attempt to call the function with adaptors or matrices of any other element type results in a compile time error!
The function fails if ...
'L'
nor 'U'
;In all failure cases a std::invalid_argument exception is thrown.
For more information on the sytri() functions (i.e. ssytri(), dsytri(), csytri(), and zsytri()) see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense triangular single precision column-major matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
diag | 'U' in case of a unitriangular matrix, 'N' otherwise. |
n | The number of rows/columns of the triangular matrix ![]() |
A | Pointer to the first element of the single precision column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK strtri() function for lower triangular (uplo = 'L'
) or upper triangular (uplo = 'U') single precision column-major matrices.
The info argument provides feedback on the success of the function call:
For more information on the strtri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense triangular double precision column-major matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
diag | 'U' in case of a unitriangular matrix, 'N' otherwise. |
n | The number of rows/columns of the triangular matrix ![]() |
A | Pointer to the first element of the double precision column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK dtrtri() function for lower triangular (uplo = 'L'
) or upper triangular (uplo = 'U') double precision column-major matrices.
The info argument provides feedback on the success of the function call:
For more information on the dtrtri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense triangular single precision complex column-major matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
diag | 'U' in case of a unitriangular matrix, 'N' otherwise. |
n | The number of rows/columns of the triangular matrix ![]() |
A | Pointer to the first element of the single precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK ctrtri() function for lower triangular (uplo = 'L'
) or upper triangular (uplo = 'U') single precision complex column-major matrices.
The info argument provides feedback on the success of the function call:
For more information on the ctrtri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense triangular double precision complex column-major matrix.
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
diag | 'U' in case of a unitriangular matrix, 'N' otherwise. |
n | The number of rows/columns of the triangular matrix ![]() |
A | Pointer to the first element of the double precision complex column-major matrix. |
lda | The total number of elements between two columns of the matrix ![]() |
info | Return code of the function call. |
This function performs the dense matrix inversion based on the LAPACK ztrtri() function for lower triangular (uplo = 'L'
) or upper triangular (uplo = 'U') double precision complex column-major matrices.
The info argument provides feedback on the success of the function call:
For more information on the ztrtri() function, see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/
|
inline |
LAPACK kernel for the inversion of the given dense triangular matrix.
A | The triangular matrix to be inverted. |
uplo | 'L' in case of a lower matrix, 'U' in case of an upper matrix. |
diag | 'U' in case of a unitriangular matrix, 'N' otherwise. |
std::invalid_argument | Invalid non-square matrix provided. |
std::invalid_argument | Invalid uplo argument provided. |
std::invalid_argument | Invalid diag argument provided. |
std::invalid_argument | Inversion of singular matrix failed. |
This function performs the dense matrix inversion based on the LAPACK trtri() functions for a lower triangular (uplo = 'L'
) or upper triangular (uplo = 'U') matrix. Note that the function only works for general, non-adapted matrices with float
, double
, complex<float>
, or complex<double>
element type. The attempt to call the function with adaptors or matrices of any other element type results in a compile time error!
The function fails if ...
'L'
nor 'U'
;'U'
nor 'N'
;In all failure cases a std::invalid_argument exception is thrown.
For more information on the trtri() functions (i.e. strtri(), dtrtri(), ctrtri(), and ztrtri()) see the LAPACK online documentation browser:
http://www.netlib.org/lapack/explore-html/