(expr: string, ...vars: string[])
| 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.) |
| 12 | function D(expr: string, ...vars: string[]): Expression { |
| 13 | return engine.expr(['D', engine.parse(expr), ...vars]); |
| 14 | } |
| 15 | |
| 16 | describe('D', () => { |
no test coverage detected