Skip to main content

BasisKernel

Trait BasisKernel 

Source
pub trait BasisKernel: ExpandableKernel + KernelProperties {
    // Required method
    fn kernel_lambda(&self) -> f64;
}
Expand description

Kernel of a finite-temperature basis: the kernels that FiniteTempBasis accepts

Implemented for every CentrosymmKernel, whose SVE is block-diagonalized into the even and odd reduced kernels, and for LogisticKernelWindowed. Other kernels implement BasisKernel::kernel_lambda and ExpandableKernel (no methods); their SVE is taken over the full domain [xmin, xmax] × [ymin, ymax] and their singular functions have no definite parity.

Required Methods§

Source

fn kernel_lambda(&self) -> f64

The cutoff parameter Λ = β·wmax (CentrosymmKernel::lambda for a centrosymmetric kernel; named apart from it so that both traits can be in scope)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§