Esempio n. 1
0
    // Hyperbolic Arcsine

    public static float4 asinh(this float4 f) => (f + (f.sqr() + 1).sqrt()).ln();
Esempio n. 2
0
    // Hyperbolic Arccosecant

    public static float4 acsch(this float4 f) => ((1 + (1 + f.sqr().sqrt())) / f).ln();
Esempio n. 3
0
    // Inverse Hyperbolic Arcs ---------------------------------------------------

    // Hyperbolic Arccosine

    public static float4 acosh(this float4 f) => (f + (f.sqr() - 1).sqrt()).ln();