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

Function solve

src/compute-engine/free-functions.ts:143–153  ·  view source on GitHub ↗
(
  expr: LatexString | ExpressionInput,
  vars?: string | Iterable<string> | Expression | Iterable<Expression>,
  options?: FreeFunctionOptions
)

Source from the content-addressed store, hash-verified

141}
142
143export function solve(
144 expr: LatexString | ExpressionInput,
145 vars?: string | Iterable<string> | Expression | Iterable<Expression>,
146 options?: FreeFunctionOptions
147):
148 | null
149 | ReadonlyArray<Expression>
150 | Record<string, Expression>
151 | Array<Record<string, Expression>> {
152 return toExpression(expr, options).solve(vars);
153}
154
155export function expandAll(
156 expr: LatexString | ExpressionInput,

Callers 3

run_sympyFunction · 0.50
mainFunction · 0.50

Calls 2

toExpressionFunction · 0.85
solveMethod · 0.65

Tested by

no test coverage detected