Package de.tilman_neumann.jml.hyperbolic
Class ArcCosH
java.lang.Object
de.tilman_neumann.jml.hyperbolic.ArcCosH
public class ArcCosH
extends java.lang.Object
Inverse hyperbolic cosinus function.
-
Constructor Summary
Constructors Constructor Description ArcCosH()
-
Method Summary
Modifier and Type Method Description static java.math.BigDecimal
acosh1(java.math.BigDecimal x, Scale scale)
Computes the "++" branch of acosh(x) = + ln(x + sqrt(x^2-1)).static java.math.BigDecimal
acoshAbs(java.math.BigDecimal x, Scale scale)
The absolute value of acosh(x) implemented by ln() formula.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ArcCosH
public ArcCosH()
-
-
Method Details
-
acoshAbs
The absolute value of acosh(x) implemented by ln() formula.- Parameters:
x
- real argument >= 1scale
- wanted accuracy in after-comma digits- Returns:
- positive value acosh(x), the negation is the second solution
-
acosh1
Computes the "++" branch of acosh(x) = + ln(x + sqrt(x^2-1)).- Parameters:
x
- real argument >= 1scale
-- Returns:
- "++" branch of acosh(x)
-