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
Among all trigonometric functions, only $\sin$ and $\cos$ (and surprisingly all inverse functions) are correctly converted to their Sage equivalents from Mathematica when using sage() method on a mathematica object. Particularly Tan[x], Cot[x], Csc[x] and Sec[x] are converted to Tan(x), Cot(x), Csc(x) and Sec(x), i.e. the first letter is still uppercase and such functions are not recognized by Sage.
Expected Behavior
All trigonometric functions from Mathematica should be converted back to their Sage equivalents.
Actual Behavior
Capitalization of Tan, Cot, Sec and Csc from Mathematica prevails after conversion to Sage. The conversion table returns:
Steps To Reproduce
Among all trigonometric functions, only$\sin$ and $\cos$ (and surprisingly all inverse functions) are correctly converted to their Sage equivalents from Mathematica when using
sage()
method on amathematica
object. ParticularlyTan[x]
,Cot[x]
,Csc[x]
andSec[x]
are converted toTan(x)
,Cot(x)
,Csc(x)
andSec(x)
, i.e. the first letter is still uppercase and such functions are not recognized by Sage.Expected Behavior
All trigonometric functions from Mathematica should be converted back to their Sage equivalents.
Actual Behavior
Capitalization of
Tan
,Cot
,Sec
andCsc
from Mathematica prevails after conversion to Sage. The conversion table returns:where
tan
,cot
,sec
andcsc
are missing.Additional Information
Connected with issue #34087
Environment
Checklist
The text was updated successfully, but these errors were encountered: