|
IFEM
90A354
|
LAPack support for various platforms. More...
#include "BLAS.h"

Go to the source code of this file.
Functions | |
| void | dgecon_ (const char &norm, const int &n, const Real *A, const int &lda, const Real &anorm, Real *rcond, Real *work, int *iwork, int &info) |
| Estimates the reciprocal of the condition number of the matrix A. More... | |
| void | dgesv_ (const int &n, const int &nrhs, Real *A, const int &lda, int *ipiv, Real *B, const int &ldb, int &info) |
| Solves the linear equation system A*x=b. More... | |
| void | dgetrf_ (const int &m, const int &n, Real *A, const int &lda, int *ipiv, int &info) |
| Computes an LU factorization of a general M-by-N matrix A. More... | |
| void | dgetri_ (const int &n, Real *A, const int &lda, int *ipiv, Real *work, const int &lwork, int &info) |
| Computes the inverse of a matrix based on its LU factorization. More... | |
| void | dgetrs_ (const char &trans, const int &n, const int &nrhs, Real *A, const int &lda, int *ipiv, Real *B, const int &ldb, int &info) |
| Solves the equation system A*x=b when A is already factorized. More... | |
| double | dlange_ (const char &norm, const int &m, const int &n, const Real *A, const int &lda, Real *work) |
| Returns a norm of the matrix A. More... | |
| void | dposv_ (const char &uplo, const int &n, const int &nrhs, Real *A, const int &lda, Real *B, const int &ldb, int &info) |
| Solves the symmetric linear equation system A*x=b. More... | |
| void | dpotrs_ (const char &uplo, const int &n, const int &nrhs, Real *A, const int &lda, Real *B, const int &ldb, int &info) |
| Solves the symmetric equation system A*x=b for prefactored A. More... | |
| void | dsyev_ (const char &jobz, const char &uplo, const int &n, double *A, const int &lda, double *w, double *work, const int &lwork, int &info) |
| Solves the standard eigenproblem A*x=(lambda)*x. More... | |
| void | dsyevx_ (const char &jobz, const char &range, const char &uplo, const int &n, Real *a, const int &lda, const Real &vl, const Real &vu, const int &il, const int &iu, const Real &abstol, int &m, Real *w, Real *z, const int &ldz, Real *work, const int &lwork, int *iwork, int *ifail, int &info) |
| Solves the standard eigenproblem A*x=(lambda)*x. More... | |
| void | dsygvx_ (const int &itype, const char &jobz, const char &range, const char &uplo, const int &n, Real *a, const int &lda, Real *b, const int &ldb, const Real &vl, const Real &vu, const int &il, const int &iu, const Real &abstol, int &m, Real *w, Real *z, const int &ldz, Real *work, const int &lwork, int *iwork, int *ifail, int &info) |
| Solves the generalized eigenproblem A*x=(lambda)*B*x. More... | |
| void | dgeev_ (const char &jobvl, const char &jobvr, const int &n, Real *a, const int &lda, Real *wr, Real *wi, Real *vl, const int &ldvl, Real *vr, const int &ldvr, Real *work, const int &lwork, int &info) |
| Solves the non-symmetric eigenproblem A*x=(lambda)*x. More... | |
LAPack support for various platforms.
| void dgecon_ | ( | const char & | norm, |
| const int & | n, | ||
| const Real * | A, | ||
| const int & | lda, | ||
| const Real & | anorm, | ||
| Real * | rcond, | ||
| Real * | work, | ||
| int * | iwork, | ||
| int & | info | ||
| ) |
Estimates the reciprocal of the condition number of the matrix A.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by DenseMatrix::solve().
| void dgeev_ | ( | const char & | jobvl, |
| const char & | jobvr, | ||
| const int & | n, | ||
| Real * | a, | ||
| const int & | lda, | ||
| Real * | wr, | ||
| Real * | wi, | ||
| Real * | vl, | ||
| const int & | ldvl, | ||
| Real * | vr, | ||
| const int & | ldvr, | ||
| Real * | work, | ||
| const int & | lwork, | ||
| int & | info | ||
| ) |
Solves the non-symmetric eigenproblem A*x=(lambda)*x.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by DenseMatrix::solveEigNon().
| void dgesv_ | ( | const int & | n, |
| const int & | nrhs, | ||
| Real * | A, | ||
| const int & | lda, | ||
| int * | ipiv, | ||
| Real * | B, | ||
| const int & | ldb, | ||
| int & | info | ||
| ) |
Solves the linear equation system A*x=b.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by utl::solve(), and DenseMatrix::solve().
| void dgetrf_ | ( | const int & | m, |
| const int & | n, | ||
| Real * | A, | ||
| const int & | lda, | ||
| int * | ipiv, | ||
| int & | info | ||
| ) |
Computes an LU factorization of a general M-by-N matrix A.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by utl::invert(), and utl::solve().
| void dgetri_ | ( | const int & | n, |
| Real * | A, | ||
| const int & | lda, | ||
| int * | ipiv, | ||
| Real * | work, | ||
| const int & | lwork, | ||
| int & | info | ||
| ) |
Computes the inverse of a matrix based on its LU factorization.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by utl::invert().
| void dgetrs_ | ( | const char & | trans, |
| const int & | n, | ||
| const int & | nrhs, | ||
| Real * | A, | ||
| const int & | lda, | ||
| int * | ipiv, | ||
| Real * | B, | ||
| const int & | ldb, | ||
| int & | info | ||
| ) |
Solves the equation system A*x=b when A is already factorized.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by utl::solve(), and DenseMatrix::solve().
| double dlange_ | ( | const char & | norm, |
| const int & | m, | ||
| const int & | n, | ||
| const Real * | A, | ||
| const int & | lda, | ||
| Real * | work | ||
| ) |
Returns a norm of the matrix A.
This is a FORTRAN-77 function in the LAPack library.
Referenced by DenseMatrix::solve().
| void dposv_ | ( | const char & | uplo, |
| const int & | n, | ||
| const int & | nrhs, | ||
| Real * | A, | ||
| const int & | lda, | ||
| Real * | B, | ||
| const int & | ldb, | ||
| int & | info | ||
| ) |
Solves the symmetric linear equation system A*x=b.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by DenseMatrix::solve().
| void dpotrs_ | ( | const char & | uplo, |
| const int & | n, | ||
| const int & | nrhs, | ||
| Real * | A, | ||
| const int & | lda, | ||
| Real * | B, | ||
| const int & | ldb, | ||
| int & | info | ||
| ) |
Solves the symmetric equation system A*x=b for prefactored A.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by DenseMatrix::solve().
| void dsyev_ | ( | const char & | jobz, |
| const char & | uplo, | ||
| const int & | n, | ||
| double * | A, | ||
| const int & | lda, | ||
| double * | w, | ||
| double * | work, | ||
| const int & | lwork, | ||
| int & | info | ||
| ) |
Solves the standard eigenproblem A*x=(lambda)*x.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by SymmTensor::principal().
| void dsyevx_ | ( | const char & | jobz, |
| const char & | range, | ||
| const char & | uplo, | ||
| const int & | n, | ||
| Real * | a, | ||
| const int & | lda, | ||
| const Real & | vl, | ||
| const Real & | vu, | ||
| const int & | il, | ||
| const int & | iu, | ||
| const Real & | abstol, | ||
| int & | m, | ||
| Real * | w, | ||
| Real * | z, | ||
| const int & | ldz, | ||
| Real * | work, | ||
| const int & | lwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int & | info | ||
| ) |
Solves the standard eigenproblem A*x=(lambda)*x.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by DenseMatrix::solveEig().
| void dsygvx_ | ( | const int & | itype, |
| const char & | jobz, | ||
| const char & | range, | ||
| const char & | uplo, | ||
| const int & | n, | ||
| Real * | a, | ||
| const int & | lda, | ||
| Real * | b, | ||
| const int & | ldb, | ||
| const Real & | vl, | ||
| const Real & | vu, | ||
| const int & | il, | ||
| const int & | iu, | ||
| const Real & | abstol, | ||
| int & | m, | ||
| Real * | w, | ||
| Real * | z, | ||
| const int & | ldz, | ||
| Real * | work, | ||
| const int & | lwork, | ||
| int * | iwork, | ||
| int * | ifail, | ||
| int & | info | ||
| ) |
Solves the generalized eigenproblem A*x=(lambda)*B*x.
This is a FORTRAN-77 subroutine in the LAPack library.
Referenced by DenseMatrix::solveEig().