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

Function leafCount

src/compute-engine/rubi/rubi-utils.ts:1248–1251  ·  view source on GitHub ↗
(e: Expression)

Source from the content-addressed store, hash-verified

1246}
1247
1248function mapList(arg: Json, ctx: Ctx, f: (u: Expression) => boolean): boolean {
1249 const items =
1250 Array.isArray(arg) && arg[0] === 'List' ? (arg as Json[]).slice(1) : [arg];
1251 return items.every((a) => f(build(a, ctx)));
1252}
1253
1254function linearQ(u: Expression, ctx: Ctx): boolean {

Callers 4

ratConstantFunction · 0.70
safeSimplifyFunction · 0.70
simplerQFunction · 0.70
simplerSqrtQFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected