SVEHints

Trait SVEHints 

Source
pub trait SVEHints<T>:
    Debug
    + Send
    + Sync
where T: Copy + Debug + Send + Sync,
{ // Required methods fn segments_x(&self) -> Vec<T>; fn segments_y(&self) -> Vec<T>; fn nsvals(&self) -> usize; fn ngauss(&self) -> usize; }
Expand description

Trait for SVE (Singular Value Expansion) hints

Provides discretization hints for singular value expansion of a given kernel. This includes segment information and numerical parameters for efficient computation.

Required Methods§

Source

fn segments_x(&self) -> Vec<T>

Get the x-axis segments for discretization

For centrosymmetric kernels, returns only positive values (x >= 0) including the endpoints. The returned vector contains segments from [0, xmax] where xmax is the upper bound of the x domain.

For non-centrosymmetric kernels, returns segments covering the full domain [-xmax, xmax].

Source

fn segments_y(&self) -> Vec<T>

Get the y-axis segments for discretization

For centrosymmetric kernels, returns only positive values (y >= 0) including the endpoints. The returned vector contains segments from [0, ymax] where ymax is the upper bound of the y domain.

For non-centrosymmetric kernels, returns segments covering the full domain [-ymax, ymax].

Source

fn nsvals(&self) -> usize

Get the number of singular values hint

Source

fn ngauss(&self) -> usize

Get the number of Gauss points for quadrature

Implementors§

Source§

impl<T> SVEHints<T> for LogisticSVEHints<T>
where T: Copy + Debug + Send + Sync + CustomNumeric,

Source§

impl<T> SVEHints<T> for RegularizedBoseSVEHints<T>
where T: Copy + Debug + Send + Sync + CustomNumeric + 'static,