compute-engine icon indicating copy to clipboard operation
compute-engine copied to clipboard

An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON

Results 78 compute-engine issues
Sort by recently updated
recently updated
newest added

How can I write this in one go? ![image](https://github.com/user-attachments/assets/2a43370e-ad67-4320-ab35-e49b2a34a70e) It always writes: ![image](https://github.com/user-attachments/assets/d5bbdf43-b3d8-4dfa-8aa0-3d554a5b4d9d) In MathQuill (on Desmos) I can just press Spacebar after "x". Thank you a lot for this...

feature

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...

feature

### 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...