pub trait SVEHints<T>:
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§
Sourcefn segments_x(&self) -> Vec<T>
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].
Sourcefn segments_y(&self) -> Vec<T>
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].