nerdamer
nerdamer copied to clipboard
a symbolic math expression evaluator for javascript
Exposing prepareExpression would allow someone to run the parse command by hand (prepare, tokenize, toRPN, parseRPN) and also make changes to the tokens/RPN if needed. I'm pretty sure this covers...
Hi! `nerdamer('G=5')` returns an error because G is a physical constant. Is there a way to override this, removing the existing definition for G and replacing it with the equation?...
Add documentation for when an argument is passed to evaluate()
Hello Martin, First of all thank you for all the work on this project, I love it I have 2 errors with the function **solveEquations** : 1. I have an...
a very simple > x*y+y=0 solved for x return two answers: x=-1 (correct) and x=0 (incorrect)
Simplification yields incorrect expression ![image](https://user-images.githubusercontent.com/30434328/168936412-26aea645-42c7-4ed4-af57-8340adca6321.png)
How to simplify sqrt(2)^3=2*sqrt(2) and sqrt(4+4*sqrt(2))=2*sqrt(1+sqrt(2))?
``` > `ReferenceError: i is not defined > at eval (eval at build (nerdamer.core.js:11882:1), :3:184) > at Object.getPoints (Solve.js:938:1) > at solve (Solve.js:1538:1) > at Expression.core.Expression.solveFor (Solve.js:257:1) > at App.DeterminePOE_Internal...
nerdamer("a+vector(1,2,3)").toString() ---> '[1+a,2+a,3+a]' Makes no sense at all. It could be [1+vecget(a,0), 2+vecget(a,1), 3+vecget(a,2)], or it could leave it unresolved. But this?
nerdamer("dot(a,b)") with a or b undefined will throw. Same with cross. expected behavior: leave it unresolved, like sin(a).