Expand description
§sparse-ir-basis
The intermediate representation (IR) basis: the kernels and their physical
properties (KernelProperties), the Fourier transforms of the singular
functions, and FiniteTempBasis. Also the DLR built from an IR basis
(DlrFromIr) and the IR <-> DLR transform. The singular value expansion
and the piecewise Legendre polynomials come from sparse-ir-sve,
re-exported here under the same paths.
Most users depend on the sparse-ir crate, which re-exports this crate.
Re-exports§
pub use basis::BosonicBasis;pub use basis::FermionicBasis;pub use basis::FiniteTempBasis;pub use basis::MatsubaraPointMethod;pub use ir_dlr::DlrFromIr;pub use ir_dlr::IrBasis;pub use kernel::BasisKernel;pub use kernel::CentrosymmKernel;pub use kernel::KernelProperties;pub use kernel::LogisticKernel;pub use kernel::LogisticKernelWindowed;pub use kernel::LogisticSVEHints;pub use kernel::LogisticWindowedSVEHints;pub use kernel::RegularizedBoseKernel;pub use kernel::RegularizedBoseSVEHints;pub use kernel::compute_logistic_kernel;pub use polyfourier::BosonicPiecewiseLegendreFT;pub use polyfourier::BosonicPiecewiseLegendreFTVector;pub use polyfourier::FermionicPiecewiseLegendreFT;pub use polyfourier::FermionicPiecewiseLegendreFTVector;pub use polyfourier::PiecewiseLegendreFT;pub use polyfourier::PiecewiseLegendreFTVector;pub use polyfourier::PowerModel;
Modules§
- basis
- Finite temperature basis for SparseIR
- gauss
- Gauss quadrature rules for numerical integration
- hints
- SVE hints given by the segments of the domain
- ir_dlr
- Discrete Lehmann representations built from an IR basis
- kernel
- Kernel implementations for SparseIR
- kernelmatrix
- Kernel matrices on the Gauss points of the SVE
- numeric
- Custom numeric traits for high-precision computation
- poly
- Piecewise Legendre polynomials
- polyfourier
- Piecewise Legendre polynomial Fourier transform implementation for SparseIR
- special_
functions - Special functions implementation ported from C++ libsparseir
- sve
- Singular value expansion (SVE) of the kernels, from
sparse-ir-sve - tsvd
- Truncated SVD in
f64and double-double, by nalgebra
Structs§
- CentrosymmSVE
- Centrosymmetric SVE computation
- Discretized
Kernel - This structure stores a discrete kernel matrix along with the corresponding Gauss quadrature rules for x and y coordinates. This enables easy application of weights for SVE computation and maintains the relationship between matrix elements and their corresponding quadrature points.
- Kernel
Block - A discretized, weighted kernel matrix
A[i, j] = K(x_i, y_j) √w_i √w'_j(Gauss pointsx_i,y_j, weightsw_i,w'_j) whose entries are evaluated on demand - Piecewise
Legendre Poly - A single piecewise Legendre polynomial
- Piecewise
Legendre Poly Vector - Vector of piecewise Legendre polynomials
- Rule
- Quadrature rule for numerical integration.
- SVDResult
- Result of SVD decomposition
- SVEOptions
- Options of
compute_sve_with - SVEResult
- Result of Singular Value Expansion computation
- SamplingSVE
- Sampling-based SVE computation
- Segment
Hints SVEHintsgiven by the segment boundaries of the domain- TSVD
Config - Configuration for TSVD computation
Enums§
- Symmetry
Type - Twork
Type - Working precision type for SVE computations
Traits§
- Abstract
Kernel - Trait for general kernels (both centrosymmetric and non-centrosymmetric)
- Custom
Numeric - Custom numeric trait for high-precision numerical computation
- Expandable
Kernel - The kernels whose SVE
compute_svecomputes - Reduced
Kernel - Trait for centrosymmetric kernels, through their reduced kernels
- SVEHints
- Trait for SVE (Singular Value Expansion) hints
- SVEKernel
- The domain of a kernel and the discretization hints of its SVE
- SVEStrategy
- Trait for SVE computation strategies
Functions§
- compute_
sve - Main SVE computation function
- compute_
sve_ with - The SVE of
kernelwithoptions - legendre
- The Gauss-Legendre rule with
npoints on [-1, 1], inT, by Newton’s method on the Legendre polynomial - matrix_
from_ gauss - Compute matrix from Gauss quadrature rules (legacy version without segments)
- matrix_
from_ gauss_ noncentrosymmetric - Compute matrix from Gauss quadrature rules for non-centrosymmetric kernels
- matrix_
from_ gauss_ with_ segments - Compute matrix from Gauss quadrature rules with segments from SVEHints
- svd_
decompose - Perform SVD decomposition using nalgebra with sorted singular values
- tsvd
- Main TSVD function using QR + SVD approach
- tsvd_
df64 - Convenience function for Df64 TSVD
- tsvd_
df64_ from_ f64 - Convenience function for Df64 TSVD from f64 matrix
- tsvd_
f64 - Convenience function for f64 TSVD
Type Aliases§
- Df64
- Compensated f64 (emulated quad precision) type.