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
The parser is in need of an overhaul, and there is at least one other outstanding bug (#10).
Will make sure to add this to the test cases for the rewrite.
Hi, I'm currently revisiting this as part of another fix.
The n-th root is only implemented for the simple case where the index n is an integer and the radicant x is a real number. In that case, the correct syntax for the parser would be nrt(n,x).
If I understand your original report correctly, you are trying to evaluate the n-th root with a non-integer index, i.e.
This could easily be implemented by allowing non-integer index values (arbitrary expressions). The library is already converting the n-th root to its power form internally as above to evaluate and differentiate the expression.
Such code throw an error:
type 'Divide' is not a subtype of type 'Number' in type cast
The text was updated successfully, but these errors were encountered: