We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From this sage-support thread:
sage: u = cot(pi*x) sage: u.is_zero() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <snip> /home/burcin/sage/sage-5.11.beta3/local/lib/python2.7/site-packages/sage/functions/trig.pyc in _evalf_(self, x, parent) 377 if parent is float: 378 return 1/math.tan(x) --> 379 return x.cot() 380 381 def _derivative_(self, x, diff_param=None): <snip> AttributeError: 'sage.rings.complex_interval.ComplexIntervalFieldElement' object has no attribute 'cot'
There are many objects which end up as x in Function_cot._evalf_() that do not support .cot().
x
Function_cot._evalf_()
.cot()
We should check if the other functions in sage/functions/trig.py handle more input types properly.
sage/functions/trig.py
CC: @eviatarbach
Component: symbolics
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/15179
The text was updated successfully, but these errors were encountered:
worksforme:
sage: sage: u = cot(pi*x) sage: sage: u.is_zero() False
Sorry, something went wrong.
No branches or pull requests
From this sage-support thread:
There are many objects which end up as
x
inFunction_cot._evalf_()
that do not support.cot()
.We should check if the other functions in
sage/functions/trig.py
handle more input types properly.CC: @eviatarbach
Component: symbolics
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/15179
The text was updated successfully, but these errors were encountered: