Skip to main content

batch_erfinv

Function batch_erfinv 

Source
pub fn batch_erfinv(xs: &[f64], config: &GpuDispatchConfig) -> Vec<f64>
Expand description

Batch evaluate the inverse error function with auto-dispatch.

Computes erfinv(p) such that erf(erfinv(p)) == p for |p| < 1. GPU path attempts the WGSL WebGPU backend (crate::gpu_kernels::wgsl::erfinv_batch_wgpu) before falling back to the scalar CPU path using crate::erf::erfinv.