Skip to main content

compute_sve_with

Function compute_sve_with 

Source
pub fn compute_sve_with<K>(
    kernel: K,
    options: &SVEOptions,
) -> Result<SVEResult, Error>
Expand description

The SVE of kernel with options

A centrosymmetric kernel (ReducedKernel) is block-diagonalized into its even and odd reduced kernels, whose singular functions have definite parity, unless SVEOptions::full_domain is set; any other kernel is expanded over its full domain [xmin, xmax] × [ymin, ymax]. The working precision is chosen from the accuracy unless SVEOptions::twork sets it. compute_sve takes the most common options as arguments.

§Errors

§FPU State Warning

This function checks for dangerous FPU settings (Flush-to-Zero and Denormals-Are-Zero) that can cause incorrect results. If detected, it temporarily corrects the FPU state and prints a warning. If you see this warning, add -fp-model precise flag when compiling with Intel Fortran.