Changes between Initial Version and Version 1 of Ticket #17285


Ignore:
Timestamp:
11/04/14 11:06:20 (5 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17285

    • Property Component changed from symbolics to basic arithmetic
    • Property Summary changed from CIF(cos(3/2)) fails to CIF is missing many functions
  • Ticket #17285 – Description

    initial v1  
    1616}}}
    1717
    18 Similar things do work:
     18The reason that this fails is:
    1919{{{
    20 sage: RIF(cos(3/2))
    21 0.0707372016677030?
    22 sage: CC(cos(3/2))
    23 0.0707372016677029
    24 sage: CIF(cos(3))
    25 -0.98999249660044542?
     20sage: CIF(3/2).cos()
     21---------------------------------------------------------------------------
     22AttributeError                            Traceback (most recent call last)
     23<ipython-input-13-96dae572cb36> in <module>()
     24----> 1 CIF(Integer(3)/Integer(2)).cos()
     25
     26/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/structure/element.so in sage.structure.element.Element.__getattr__ (build/cythonized/sage/structure/element.c:4068)()
     27
     28/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/structure/misc.so in sage.structure.misc.getattr_from_other_class (build/cythonized/sage/structure/misc.c:1631)()
     29
     30AttributeError: 'sage.rings.complex_interval.ComplexIntervalFieldElement' object has no attribute 'cos'
    2631}}}