Skip to main content

build_center_kernel_device

Function build_center_kernel_device 

Source
pub fn build_center_kernel_device(
    centers_xyz: &[f64],
    lmax: usize,
    coeffs: &[f64],
    kind: SphereSpectralKernelKind,
) -> Result<DeviceS2KernelMatrix, GpuError>
Expand description

Build the (m × m) center-center kernel matrix C using the same GPU kernel that builds the design. centers_xyz is the unit-vector representation of the centers, length 3 * m. coeffs and kind match the design build.