Arcosh
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.
Inverse hyperbolic cosine (area hyperbolic cosine).
✓ checked against that system · ! checked, with disagreements (hover a chip)DLMF
4.37.ii.p1FungrimAcosh✓Fungrim entry2fc479✓718f3a✓d9765b✓Wolfram LanguageArcCosh!Arcosh(complex | signed_infinity) -> numberas compute-engine declares itSageMath
arccosh(complex | signed_infinity)SymPyacosh(complex | signed_infinity)mpmathacosh(complex | signed_infinity)Juliaenumeratio_ball(_acosh, complex | signed_infinity)Rustacosh(complex | signed_infinity)Arcosh(complex | signed_infinity | ~oo) -> number | signed_infinity | ~ooInverse hyperbolic cosine (area hyperbolic cosine).SageMath
arccosh(complex | signed_infinity | ~oo)SymPyacosh(complex | signed_infinity | ~oo)mpmathacosh(complex | signed_infinity | ~oo)Juliaenumeratio_ball(_acosh, complex | signed_infinity | ~oo)Rustacosh(complex | signed_infinity | ~oo)Typed signatures
| Type | Package | Applies |
|---|---|---|
(complex | quantity | signed_infinity) -> number | analyticreplaces compute-engine | always |
(complex | quantity | signed_infinity) -> number | compute-engine | always |
Details
- Differs from Wolfram: past its real domain a rational argument reduces to the exact principal value, on every inverse trigonometric and hyperbolic head alike (Arcsin, Arccos, Arcsec, Arccsc, Arcosh, Artanh, Arcoth, Arsech); Wolfram leaves the exact call unevaluated and gives the same number from
N[...]. Checked against mpmath andwolframscripton a grid of rationals to double precision. A float andN(...)already took the same branch. Compiled code is separate: the JavaScript target is real-valued (NaN past the domain), the WGSL target returns a complex pair, and Arcsin and Arccos decline to compile. Principal branch, cut on , continuous from above: for , (mpmathacosh(-2)), and for , .
Examples
1 more kept as data, checked against the oraclesScope #
Arcosh(-Infinity) is +Infinity, not -Infinity -- the principal branch keeps everywhere
live ↗InOut
Known value · DLMF 4.37.19
live ↗
InOut
live ↗
InOut
Arcosh(ComplexInfinity) is +Infinity in every direction -- , so only the real part diverges
live ↗Known value · DLMF 4.37.19
Properties #
A nested-radical argument stays unevaluated, only rewritten
live ↗InOut
Known value · Wolfram MathematicalFunctionData, ArcCosh
The negated radical argument is likewise left as arcosh
live ↗InOut
Known value · Wolfram MathematicalFunctionData, ArcCosh
About
| Examples | 20 |
|---|---|
| Checked against | Wolfram Language 17 agree2 differ1 unevaluatedSageMath 17 agree2 differ1 unevaluatedSymPy 17 agree2 differ1 unevaluatedmpmath 15 agree1 differJulia 14 agree2 errorRust 2 agree12 error |
| Crosswalk | DLMFFungrimFungrim entry ×3Wolfram LanguageSageMathSymPympmathJuliaRust |
Implementation
mapped
sympypackages/oracle/src/mappings.tsmapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts