MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / D

Function D

test/compute-engine/derivatives.test.ts:11–13  ·  view source on GitHub ↗
(expr: string, ...vars: string[])

Source from the content-addressed store, hash-verified

9// Helper to create D expressions using MathJSON directly.
10// (D(f, x) in LaTeX parses as the derivative function outside a quantifier
11// scope, but this helper builds the D expression from an already-parsed body.)
12function D(expr: string, ...vars: string[]): Expression {
13 return engine.expr(['D', engine.parse(expr), ...vars]);
14}
15
16describe('D', () => {

Callers 1

Calls 2

exprMethod · 0.65
parseMethod · 0.65

Tested by

no test coverage detected