Skip to main content

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>

Segment boundaries on x: strictly increasing from xmin to xmax

The SVE of a centrosymmetric kernel (ReducedKernel) discretizes the half [0, xmax]: the boundaries in (0, xmax] with 0 added. The mirror images of these are its boundaries on [-xmax, 0].

Source

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

Segment boundaries on y: strictly increasing from ymin to ymax

The SVE of a centrosymmetric kernel (ReducedKernel) discretizes the half [0, ymax], as for Self::segments_x.

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§