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

Function collectAppliedNonFunctions

src/compute-engine/index.ts:264–288  ·  view source on GitHub ↗

* Walk a raw (pre-canonicalization) MathJSON expression and collect the * symbols that appear in function-application syntax `f(…)` — encoded as an * `InvisibleOperator` with a symbol immediately followed by a `Delimiter`. * In a scope-aware parse, a symbol known to be a function is parsed as an

(node: unknown, result: Set<string>)

Source from the content-addressed store, hash-verified

262 expr,
263 simplify,
264 evaluate,
265 N,
266 declare,
267 assign,
268 expand,
269 expandAll,
270 factor,
271 solve,
272 compile,
273 getDefaultEngine,
274} from './free-functions.js';
275export type { FreeFunctionOptions } from './free-functions.js';
276import { _setDefaultEngineFactory } from './free-functions.js';
277
278export { validatePattern };
279
280// Export specialized polynomial factoring functions for advanced users
281export {
282 factorPerfectSquare,
283 factorDifferenceOfSquares,
284 factorQuadratic,
285 factorPolynomial,
286};
287
288// Export compilation types and classes for advanced users
289export type {
290 CompileTarget,
291 CompiledOperators,

Callers 1

appliedNonFunctionsMethod · 0.85

Calls 1

addMethod · 0.65

Tested by

no test coverage detected