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

## Description Writing a latex such as: \forall x.x\in A is not recognize able by the Compute Engine and the MathJSON rendered is invalid. ### Steps to Reproduce Write in...

## Description The Compute Engine doesn't recognize the precedence of the logical operations. ### Steps to Reproduce Write some propositions with logical connectives in a mathfield, such as: 3=4\vee 7=8...

## Description Problem with decimal and x for isEqual ### Steps to Reproduce ``` import { ComputeEngine } from '@cortex-js/compute-engine' const engine = new ComputeEngine() const expr1 = '0.5x' const...

Example TeX producing wrong output: ```tex \int\limits_{-1}^{1}{\frac{1}{\sqrt{1-x^2}}\,{\mathrm{d}}x ``` Wrong output: ```json [ "Sequence", ["Integrate", "Nothing", "Nothing"], [ "Error", ["ErrorCode", "'unexpected-command'", "'\\limits'"], ["LatexString", "'\\limits'"] ] ] ``` This integral, which is...

## Problem In the domain of physics, dot notation is often preferred due to its compactness. As of today, ComputeEngine does not recognize it and MathLive fails to correctly render...

feature

## Description Fraction \frac{27^{12}}{9^{19}} returns wrong value. ### Actual Behavior Fraction value is 0.11111111111111113 as value compiled to JavaScript. Should be 0.11111111111111111 (which is 1/9). If I try check equality...

## Description Expected simplification does not take place ### Steps to Reproduce `ce.parse("ee^xe^{-x}").simplify()` produces: `["Multiply","ExponentialE",["Power","ExponentialE","x"],["Power","ExponentialE",["Negate","x"]]]` expected: `ExponentialE` **Version:** _"@cortex-js/compute-engine": "^0.25.0"_ **Operating System** _Linux 6.8.0-35_

## Description Currently, I am working on a tool that needs to manipulate geo info (degree, minute, second). I could not find any operation such as Add, Subtract...etc for geo...

@arnog ### Steps to Reproduce 1. When i tried to get `ascii-math` of this type of latex. ![Screenshot 2024-05-29 at 5 41 43 PM](https://github.com/cortex-js/compute-engine/assets/9457796/ec71b68e-ffa9-40da-bc3b-850ee8043b8d) 2. I got `ascii-math` value just...

Off-template

### Steps to Reproduce 1. Go to https://codepen.io/alexedgcomb/pen/QWXxXJV, wherein `"\\lnot\\forall x\\left(x>0\\right)"` is parsed 2. Click Console (to show the browser's console) ### Actual Result Console has `"['Not',['Error',''missing'',['LatexString',''\\lnot'']]]"` ### Expected Result...