compute-engine
compute-engine copied to clipboard
An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON
How can I write this in one go?  It always writes:  In MathQuill (on Desmos) I can just press Spacebar after "x". Thank you a lot for this...
Noticed that `ce.declare` errors when supplying a _SymbolDefinition_ of form `{type: TypeString}` for second arg. Current changes appear to address the issue, but appears to **surface or reveal a few...
## Description `ce.ask` appears to return an empty result (array) at level of basic, well-formulated predicates/propositions. ### Steps to Reproduce Basic case: ```typescript const ce = new ComputeEngine(); ce.declare('x', 'finite_real');...
I have noticed that evaluating matrix/vector operations like multiplication or addition in a Mathlive mathfield does not work out of the box and I did not find anything about it...
### Description When serializing powers of 10 to LaTeX using scientific notation, the coefficient 1 is omitted from the result. ### Steps to Reproduce ```js console.log(engine.parse('1000').toLatex({ notation: 'scientific')) ``` ###...
Noticed that `verbatimLatex` not being saved on BoxedExpression instances created from `ce.parse` for some time. Looks as if this traceable to commits: > cd557e5 - 'arch: changed JSON canonical format,...
> Please follow the template below. > If you don't, your issue may be closed without being addressed. > Include code fragments or CodePen.io links to illustrate the issue. Do...
## Description I would like to compute double absolute value. E.g: ||3-5|-4| ### Actual Behavior Typed expression is parsed as Latex value: |{|{3-5}|}-4|, which causing error when I try to...