Module kernelmatrix

Module kernelmatrix 

Source
Expand description

Kernel matrix discretization for SparseIR

This module provides functionality to discretize kernels using Gauss quadrature rules and store them as matrices for numerical computation.

Structs§

DiscretizedKernel
This structure stores a discrete kernel matrix along with the corresponding Gauss quadrature rules for x and y coordinates. This enables easy application of weights for SVE computation and maintains the relationship between matrix elements and their corresponding quadrature points.
InterpolatedKernel
2D interpolation kernel for efficient evaluation at arbitrary points

Functions§

matrix_from_gauss
Compute matrix from Gauss quadrature rules (legacy version without segments)
matrix_from_gauss_noncentrosymmetric
Compute matrix from Gauss quadrature rules for non-centrosymmetric kernels
matrix_from_gauss_with_segments
Compute matrix from Gauss quadrature rules with segments from SVEHints