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
{{ message }}
This repository has been archived by the owner on May 2, 2020. It is now read-only.
Hello, I have noticed a few features that are not implemented yet. I have solved most of them by pre-processing input from MathQuill. I use this code:
string.replace('\\right', '') # right tag .replace('\\left', '') # left tag .replace("^x","^{(x)}") # powers .replace("\ ","") #Spaces
However, one thing I couldn't solve without changing latex2sympy code is when a user inputs a function raised to a power (say sin^nx instead of (sinx)^n) latex2sympy crashes and gives NoneType' object has no attribute 'additive'.
Also, I believe hyperbolic trig functions are not supported yet (might be a very simple addition)
Can you please correct this? Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hello, I have noticed a few features that are not implemented yet. I have solved most of them by pre-processing input from MathQuill. I use this code:
string.replace('\\right', '') # right tag .replace('\\left', '') # left tag .replace("^x","^{(x)}") # powers .replace("\ ","") #Spaces
However, one thing I couldn't solve without changing latex2sympy code is when a user inputs a function raised to a power (say sin^nx instead of (sinx)^n) latex2sympy crashes and gives
NoneType' object has no attribute 'additive'
.Also, I believe hyperbolic trig functions are not supported yet (might be a very simple addition)
Can you please correct this? Thank you in advance!
The text was updated successfully, but these errors were encountered: