Skip to main content

matrix_from_gauss_noncentrosymmetric

Function matrix_from_gauss_noncentrosymmetric 

Source
pub fn matrix_from_gauss_noncentrosymmetric<T, K, H>(
    kernel: &K,
    gauss_x: &Rule<T>,
    gauss_y: &Rule<T>,
    hints: &H,
) -> DiscretizedKernel<T>
Expand description

Compute matrix from Gauss quadrature rules for non-centrosymmetric kernels

This function evaluates the kernel directly at all combinations of Gauss points without exploiting symmetry. It works with the full domain [-xmax, xmax] × [-ymax, ymax].

§Arguments

  • kernel - The kernel implementing AbstractKernel
  • gauss_x - Gauss quadrature rule for x coordinates (full domain)
  • gauss_y - Gauss quadrature rule for y coordinates (full domain)
  • hints - SVE hints providing segment information

§Returns

DiscretizedKernel containing the matrix, quadrature rules, and segments