ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
linear_algebra.h File Reference
#include "source_base/macros.h"
#include "source_base/module_container/ATen/core/tensor.h"
#include "source_base/module_device/memory_op.h"
#include "source_hsolver/diag_comm_info.h"
#include <algorithm>
#include <complex>
#include <cstdint>
#include <vector>
Include dependency graph for linear_algebra.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hsolver::LinearSmallLU
 Partial-pivoted factorization of a small column-major complex matrix. More...
class  hsolver::LinearAlgebra< T, Device >
 Collective block algebra; only small coefficients cross the device boundary. More...

Namespaces

namespace  hsolver

Functions

template<typename T, typename Device>
void hsolver::linear_buffer (ct::Tensor *buffer, const int64_t size)
 Device allocation helper, including type and empty-partition checks.
std::vector< std::complex< double > > hsolver::linear_gram_basis (const std::vector< std::complex< double > > &gram, int n, double cutoff, int *rank)
 Rank-revealing coefficients for a small Gram matrix, with a norm cutoff.
void hsolver::linear_complete_hermitian_upper (int n, std::complex< double > *matrix)