MCPcopy 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

runOnFunction · 0.70

Calls 4

evaluateMethod · 0.65
exprMethod · 0.65
solveMethod · 0.65
simplifyMethod · 0.65

Tested by

no test coverage detected