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

Function costFn

src/compute-engine/boxed-expression/simplify.ts:146–146  ·  view source on GitHub ↗
(e: Expression)

Source from the content-addressed store, hash-verified

144 * act on at all? Keeps the trial expansion below from calling `expand()` on
145 * every expression that reaches the fixpoint.
146 */
147function mightExpand(expr: Expression): boolean {
148 if (!isFunction(expr)) return false;
149 if (

Callers 1

simplifyFunction · 0.85

Calls 1

costFunctionMethod · 0.80

Tested by

no test coverage detected