Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ build
Function
build
benchmarks/audit/wester.ts:242–242 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
240
}
241
if
(c.op ===
'defint'
) {
// composite Simpson
242
const
a0 = Number(c.a), b0 = Number(c.b), n = 200, h = (b0 - a0) / n;
243
let
sum = 0;
244
for
(
let
i = 0; i <= n; i++) {
245
const
y = numAt(ce, f, c.varName, a0 + i * h);
Callers
1
runOn
Function · 0.70
Calls
4
evaluate
Method · 0.65
expr
Method · 0.65
solve
Method · 0.65
simplify
Method · 0.65
Tested by
no test coverage detected