Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ sech
Function
sech
src/compute-engine/interval/trigonometric.ts:528–530 ·
view source on GitHub ↗
(x: Interval | IntervalResult)
Source
from the content-addressed store, hash-verified
526
}
527
528
/**
529
* Hyperbolic secant: sech(x) = 1/cosh(x).
530
*
531
* Always valid since cosh(x) >= 1.
532
*/
533
export
function
sech(x: Interval | IntervalResult): IntervalResult {
Callers
1
interval-arithmetic.test.ts
File · 0.90
Calls
3
div
Function · 0.90
ok
Function · 0.90
cosh
Function · 0.85
Tested by
no test coverage detected