ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
linear_test_utils.h File Reference
#include "source_base/module_container/base/third_party/lapack.h"
#include "source_base/parallel_comm.h"
#include "source_hsolver/diag_comm_info.h"
#include <complex>
#include <stdexcept>
#include <vector>
Include dependency graph for linear_test_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  linear_test

Typedefs

using linear_test::Complex = std::complex<double>

Functions

hsolver::diag_comm_info linear_test::world_comm ()
template<typename T>
std::vector< T > linear_test::hermitian (const int n)
template<typename T>
std::vector< T > linear_test::multiply (const std::vector< T > &a, const std::vector< T > &x, const int n, const int nvec)
template<typename T>
std::vector< T > linear_test::local_columns (const std::vector< T > &global, int n, int columns, int start, int dim, int ld)
template<typename T>
std::vector< Complex > linear_test::lapack_solve (const std::vector< T > &a, const std::vector< T > &b, const int n, const int nvec)