#18319: coefficient fails to give help
---------------------------------+------------------------
Reporter: mantepse | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: documentation | Resolution:
Keywords: coefficient | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Comment (by mmezzarobba):
If anything I'm surprised that `(x+1).n?` works: typically `obj.foo?` only
works reliably if `obj` is a variable, and either raises an error or
returns nonsense otherwise. For instance:
{{{
sage: (x.variables()).n?
Signature: n(x, prec=None, digits=None, algorithm=None)
Docstring:
Returns a numerical approximation of an object "x" with at least
"prec" bits (or decimal "digits") of precision.
...
sage: (x.variables()).n()
...
AttributeError: 'tuple' object has no attribute 'n'
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18319#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.