Fork me on GitHub
 All Classes Files Functions Variables Groups Pages
Functions
lapack.h File Reference

Interface to lapack functions. More...

Go to the source code of this file.

Functions

template<typename Array2d , typename Array1d >
void cusp::lapack::getrf (Array2d &A, Array1d &piv)
 Compute LU factorization of matrix. More...
 
template<typename Array2d >
void cusp::lapack::potrf (Array2d &A, char uplo= 'U')
 Computes the Cholesky factorization of a symmetric (Hermitian) positive-definite matrix. More...
 
template<typename Array2d , typename Array1d >
void cusp::lapack::sytrf (Array2d &A, Array1d &piv, char uplo= 'U')
 Computes the Bunch-Kaufman factorization of a symmetric matrix. More...
 
template<typename Array2d , typename Array1d >
void cusp::lapack::getrs (const Array2d &A, const Array1d &piv, Array2d &B, char trans= 'N')
 Solves a system of linear equations with an LU-factored square matrix, with multiple right-hand sides. More...
 
template<typename Array2d >
void cusp::lapack::potrs (const Array2d &A, Array2d &B, char uplo= 'U')
 Solves a system of linear equations with a Cholesky-factored symmetric (Hermitian) positive-definite matrix. More...
 
template<typename Array2d , typename Array1d >
void cusp::lapack::sytrs (const Array2d &A, const Array1d &piv, Array2d &B, char uplo= 'U')
 Solves a system of linear equations with a UDU- or LDL-factored symmetric matrix. More...
 
template<typename Array2d >
void cusp::lapack::trtrs (const Array2d &A, Array2d &B, char uplo= 'U', char trans= 'N', char diag= 'N')
 Solves a system of linear equations with a triangular matrix, with multiple right-hand sides. More...
 
template<typename Array2d >
void cusp::lapack::trtri (Array2d &A, char uplo= 'U', char diag= 'N')
 This routine computes the inverse of a triangular matrix. More...
 
template<typename Array2d , typename Array1d >
void cusp::lapack::syev (const Array2d &A, Array1d &eigvals, Array2d &eigvecs, char uplo= 'U')
 Computes all eigenvalues and eigenvectors of a real symmetric matrix. More...
 
template<typename Array1d1 , typename Array1d2 , typename Array1d3 , typename Array2d >
void cusp::lapack::stev (const Array1d1 &alphas, const Array1d2 &betas, Array1d3 &eigvals, Array2d &eigvecs, char job= 'V')
 Computes all eigenvalues and, optionally, eigenvectors of a real symmetric tridiagonal matrix. More...
 
template<typename Array2d1 , typename Array2d2 , typename Array1d , typename Array2d3 >
void cusp::lapack::sygv (const Array2d1 &A, const Array2d2 &B, Array1d &eigvals, Array2d3 &eigvecs)
 Computes all eigenvalues and, optionally, eigenvectors of a real generalized symmetric definite eigenproblem. More...
 
template<typename Array2d , typename Array1d >
void cusp::lapack::gesv (const Array2d &A, Array2d &B, Array1d &piv)
 Computes the solution of a system of linear equations with a square matrix A and multiple right-hand sides. More...
 

Detailed Description

Interface to lapack functions.

Definition in file lapack.h.