math-expressions icon indicating copy to clipboard operation
math-expressions copied to clipboard

A library for parsing and evaluating mathematical expressions, supporting real numbers, vectors, and basic interval arithmetic.

Results 27 math-expressions issues
Sort by recently updated
recently updated
newest added

Great package - are you planning to support physical units in this package? Like area, length, mass, etc...? There is a great JS library which allows for quite "complex" calculations...

enhancement

every calculator has pi, e and factorial methods. but how to parse them using your library?

enhancement
good first issue

Hi, I have an input like `8E` After I put this into the parser for evaluation, the parser instantly converts it into `e({8.0})` Is there a way to suppress this...

bug

Thank you for providing this plug-in, but when I set the variable to a combination of letters and numbers, I get an error. Is this a plug-in problem? My code...

bug

Is it possible to use degrees for sin,cos and tan ? sin(90) = 1 I figured out we can just use radian...

enhancement
documentation

It just doesn't work right, I have tried to do the calculation of various percentages but it doesn't work right, it gives wrong result. For example if I put something...

enhancement

Currently we have only the option to create custom functions and use them on manually created expressions. If we want to use them on a parse expression, it is currently...

enhancement

Hi, I tried to make a simple calculator using this library. But I am facing an issue with a very simple expression. I tried to multiple `2.3` with `3` and...

duplicate
question

Any mathematical expression that state a literal positive number with `+` doesn't parse, like: - `7+(+7)` - `+7` - `7*+7` - `cos(+7)` All above throws this exception: ``` The following...

enhancement

I'm interested in how to use the Evaluttion type Interval, but the documentation is lacking examples of this type of evalution and for vectors

documentation