Where's the inverse of Math.tanh in the math libraries?

前端 未结 4 442
猫巷女王i
猫巷女王i 2021-01-13 18:22

y = Math.Tanh(x) is the hyperbolic tangent of x. But I need f(y) = x. For the regular tangent there\'s Arctan, but where\'s Arctanh?

4条回答
  •  自闭症患者
    2021-01-13 19:11

    I installed MathNet from the package manager. It has MathNet.Numerics.Trig.InverseHyperbolicTangent(x) which works well enough.

提交回复
热议问题