Skip to main content

IrBasis

Trait IrBasis 

Source
pub trait IrBasis<S>: Basis<S>
where S: StatisticsType,
{ type Kernel: KernelProperties; // Required method fn kernel(&self) -> &Self::Kernel; // Provided method fn dlr_transform( &self, dlr: &DiscreteLehmannRepresentation<S>, ) -> Result<IrDlrTransform, Error> where S: 'static { ... } }
Expand description

A basis with a kernel: the IR basis FiniteTempBasis

The kernel supplies the pole weights w(β, ω) of a DLR built from the basis. A DLR is not an IrBasis, so no DLR can be built from a DLR.

Required Associated Types§

Source

type Kernel: KernelProperties

Kernel type

Required Methods§

Source

fn kernel(&self) -> &Self::Kernel

The kernel the basis was built from

Provided Methods§

Source

fn dlr_transform( &self, dlr: &DiscreteLehmannRepresentation<S>, ) -> Result<IrDlrTransform, Error>
where S: 'static,

The linear map between the coefficients of this basis and of dlr.

§Errors

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<K, S> IrBasis<S> for FiniteTempBasis<K, S>
where K: KernelProperties + CentrosymmKernel + Clone + 'static, S: StatisticsType + 'static,