MADNESS
version 0.9
|
Prototypes for a partial interface from Tensor to LAPACK. More...
Go to the source code of this file.
Namespaces | |
madness | |
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces. | |
Functions | |
template<typename T > | |
void | madness::svd (const Tensor< T > &a, Tensor< T > &U, Tensor< typename Tensor< T >::scalar_type > &s, Tensor< T > &VT) |
Compute the singluar value decomposition of an n-by-m matrix using *gesvd. More... | |
template<typename T > | |
void | madness::svd_result (Tensor< T > &a, Tensor< T > &U, Tensor< typename Tensor< T >::scalar_type > &s, Tensor< T > &VT, Tensor< T > &work) |
same as svd, but it optimizes away the tensor construction: a = U * diag(s) * VT More... | |
template<typename T > | |
void | madness::gesv (const Tensor< T > &a, const Tensor< T > &b, Tensor< T > &x) |
Solve Ax = b for general A using the LAPACK *gesv routines. More... | |
template<typename T > | |
void | madness::gelss (const Tensor< T > &a, const Tensor< T > &b, double rcond, Tensor< T > &x, Tensor< typename Tensor< T >::scalar_type > &s, long &rank, Tensor< typename Tensor< T >::scalar_type > &sumsq) |
Solve Ax = b for general A using the LAPACK *gelss routines. More... | |
template<typename T > | |
void | madness::syev (const Tensor< T > &A, Tensor< T > &V, Tensor< typename Tensor< T >::scalar_type > &e) |
Real-symmetric or complex-Hermitian eigenproblem. More... | |
template<typename T > | |
void | madness::sygv (const Tensor< T > &A, const Tensor< T > &B, int itype, Tensor< T > &V, Tensor< typename Tensor< T >::scalar_type > &e) |
Generalized real-symmetric or complex-Hermitian eigenproblem. More... | |
template<typename T > | |
void | madness::cholesky (Tensor< T > &A) |
Compute the Cholesky factorization. More... | |
template<typename T > | |
void | madness::qr (Tensor< T > &A, Tensor< T > &R) |
compute the QR decomposition of the matrix A More... | |
template<typename T > | |
void | madness::lq (Tensor< T > &A, Tensor< T > &R) |
compute the LQ decomposition of the matrix A = L Q More... | |
template<typename T > | |
void | madness::geqp3 (Tensor< T > &A, Tensor< T > &tau, Tensor< integer > &jpvt) |
Compute the QR factorization. More... | |
template<typename T > | |
void | madness::orgqr (Tensor< T > &A, const Tensor< T > &tau) |
reconstruct the orthogonal matrix Q (e.g. from QR factorization) More... | |
bool | madness::test_tensor_lapack () |
Test the Tensor-LAPACK interface ... currently always returns true! More... | |
void | madness::init_tensor_lapack () |
World/MRA initialization calls this before going multithreaded due to static data in dlamch . More... | |
Prototypes for a partial interface from Tensor to LAPACK.