You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using toString on a FunctionAssignmentNode, for example 'y(x) = 3x', it outputs 'function y(x) = 3x'.
That, however, cannot be parsed back to a FunctionAssigmentNode like math.parse(math.parse('y(x) = 3x').toString())
The text was updated successfully, but these errors were encountered:
Thanks for reporting, I think this is a left-over of a very early version of math.js where this was the actual syntax for defining a function, this should have been changed together with the change of the syntax itself. .toTex() already works correctly, it's just .toString().
When using toString on a FunctionAssignmentNode, for example 'y(x) = 3x', it outputs 'function y(x) = 3x'.
That, however, cannot be parsed back to a FunctionAssigmentNode like
math.parse(math.parse('y(x) = 3x').toString())
The text was updated successfully, but these errors were encountered: