mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
516 B
516 B
Function sech
Calculate the hyperbolic secant of a value; sech(x)=1/cosh(x)
sech(x)
For matrices, the function is evaluated element wise.
Parameters
| Parameter | Type | Description |
|---|---|---|
x |
Number | Boolean | Complex | Unit | Array | Matrix |
Returns
| Type | Description |
|---|---|
| undefined |