marlon360 / xr-graph

📈🥽 View mathematical function graphs in Virtual Reality and Augmented Reality.
https://xr-graph.now.sh
MIT License
145 stars 24 forks source link

Problems parsing exponential functions #8

Closed marlon360 closed 4 years ago

marlon360 commented 4 years ago

Following functions not working correctly: exp(-xx-yy) exp(-(xx+yy)) exp(-x^2-y^2) e^(-x^2-y^2)

marlon360 commented 4 years ago

Functions not working, when importing from Google. Reason: minus symbol before parameter is "non-breaking hyphen" which will not be interpreted as a normal minus symbol

marlon360 commented 4 years ago

"e" is not interpreted as 2.7182.. Todo: add another constant to parser

marlon360 commented 4 years ago

Functions not working, when importing from Google. Reason: minus symbol before parameter is "non-breaking hyphen" which will not be interpreted as a normal minus symbol

Fixed with ff470f4eefbf5daf2a15cb18533cbd848b8a7697 and 5c543876433beece1556e36de16f302460a0dfd7

"e" is not interpreted as 2.7182.. Todo: add another constant to parser

Fixed with 3e952c2845d063dacb766b41d4a6507bc80e70f6