/// <summary> /// A custom kernel using <see cref="XMath"/> functions. /// </summary> public static void KernelWithXMath(Index1D index, ArrayView <float> data, float c) { data[index] = XMath.Sinh(c + index) + XMath.Atan(c); }
static double Sih(double x) => XMath.Sinh((float)x);