Skip to main content

sparse_ir/
lib.rs

1#![doc = include_str!("../README.md")]
2
3//! ## Where to go next
4//!
5//! - The [Rust User Guide](https://spm-lab.github.io/sparse-ir-rs/) walks
6//!   through sparse sampling, IR/DLR transforms, MiniPole and applied
7//!   calculations, with runnable examples.
8//! - [`FiniteTempBasis`], [`TauSampling`] and [`MatsubaraSampling`] are the
9//!   entry points for the IR basis; [`DiscreteLehmannRepresentation`] and
10//!   [`DlrBuilder`] for the DLR; [`minipole`] and [`esprit`] for pole
11//!   reconstruction.
12
13pub use sparse_ir_core::debug_warn;
14pub use sparse_ir_core::{
15    ArrayRole, Basis, Bosonic, BosonicFreq, DynRank, Error, ErrorKind, Fermionic, FermionicFreq,
16    InplaceFitter, Matrix, MatsubaraFreq, MatsubaraSampling, MatsubaraSamplingPositiveOnly, Rank,
17    Result, Statistics, StatisticsMarker, StatisticsType, TauSampling, TensorScalar, TypedTensor,
18    TypedTensorView, TypedTensorViewMut, is_debug_enabled,
19};
20pub use sparse_ir_core::{
21    basis_trait, error, fitters, fpu_check, freq, gemm, matrix, matsubara_sampling, sampling,
22    taufuncs, traits,
23};
24
25#[doc(hidden)]
26pub use sparse_ir_core::parallel;
27
28pub use sparse_ir_dlr::dlr;
29pub use sparse_ir_dlr::{
30    DiscreteLehmannRepresentation, DlrBuilder, IrDlrTransform, bosonic_single_pole,
31    fermionic_single_pole, giwn_single_pole, gtau_single_pole,
32};
33
34pub use sparse_ir_minipole::{esprit, minipole};
35
36pub use sparse_ir_basis::{
37    AbstractKernel, BasisKernel, BosonicBasis, BosonicPiecewiseLegendreFT,
38    BosonicPiecewiseLegendreFTVector, CentrosymmKernel, CentrosymmSVE, CustomNumeric, Df64,
39    DiscretizedKernel, DlrFromIr, ExpandableKernel, FermionicBasis, FermionicPiecewiseLegendreFT,
40    FermionicPiecewiseLegendreFTVector, FiniteTempBasis, IrBasis, KernelBlock, KernelProperties,
41    LogisticKernel, LogisticKernelWindowed, LogisticSVEHints, LogisticWindowedSVEHints,
42    MatsubaraPointMethod, PiecewiseLegendreFT, PiecewiseLegendreFTVector, PiecewiseLegendrePoly,
43    PiecewiseLegendrePolyVector, PowerModel, ReducedKernel, RegularizedBoseKernel,
44    RegularizedBoseSVEHints, Rule, SVDResult, SVEHints, SVEKernel, SVEOptions, SVEResult,
45    SVEStrategy, SamplingSVE, SegmentHints, SymmetryType, TSVDConfig, TworkType,
46    compute_logistic_kernel, compute_sve, compute_sve_with, legendre, matrix_from_gauss,
47    matrix_from_gauss_noncentrosymmetric, matrix_from_gauss_with_segments, svd_decompose,
48    tsvd_df64, tsvd_df64_from_f64, tsvd_f64,
49};
50pub use sparse_ir_basis::{
51    basis, gauss, hints, ir_dlr, kernel, kernelmatrix, numeric, poly, polyfourier,
52    special_functions, sve, tsvd,
53};