SIRIUS 7.5.0
Electronic structure library and applications
|
Linear algebra interface. More...
Go to the source code of this file.
Classes | |
class | sirius::la::wrap |
Namespaces | |
module | sirius |
Namespace of the SIRIUS library. | |
namespace | sirius::la |
Interface to linear algebra BLAS/LAPACK functions. | |
Macros | |
#define | linalg_msg_wrong_type "[" + std::string(__func__) + "] wrong type of linear algebra library: " + to_string(la_) |
Functions | |
bool | sirius::la::_local::is_set_device_id () |
check if device id has been set properly More... | |
template<typename T > | |
void | sirius::la::check_hermitian (std::string const &name, sddk::matrix< T > const &mtrx, int n=-1) |
template<typename T > | |
real_type< T > | sirius::la::check_hermitian (dmatrix< T > &mtrx__, int n__) |
template<typename T > | |
double | sirius::la::check_identity (dmatrix< T > &mtrx__, int n__) |
template<typename T > | |
double | sirius::la::check_diagonal (dmatrix< T > &mtrx__, int n__, sddk::mdarray< double, 1 > const &diag__) |
template<typename T > | |
void | sirius::la::unitary_similarity_transform (int kind__, dmatrix< T > &A__, dmatrix< T > const &U__, int n__) |
Variables | |
const std::string | sirius::la::linalg_msg_no_scalapack = "not compiled with ScaLAPACK" |
Linear algebra interface.
Definition in file linalg.hpp.
#define linalg_msg_wrong_type "[" + std::string(__func__) + "] wrong type of linear algebra library: " + to_string(la_) |
Definition at line 57 of file linalg.hpp.
|
inline |
check if device id has been set properly
Definition at line 51 of file linalg.hpp.