ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
overlap_spectrum.h File Reference
#include <vector>
Include dependency graph for overlap_spectrum.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  hsolver

Functions

bool hsolver::overlap_inverse_sqrt (const std::vector< double > &values, double relative_cutoff, std::vector< double > &weights)
 Compute inverse square root weights for an ascending overlap spectrum. At zero cutoff every value must be positive. At positive cutoff, weights for values at or below relative_cutoff * max(values) are zero.