#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:
---------------------------------+------------------------
Changes (by rws):
* milestone: sage-duplicate/invalid/wontfix => sage-6.7
* component: symbolics => documentation
Old description:
> In Sage 6.5:
>
> {{{
> sage: var("a")
> a
> sage: (a+1).coefficient?
> Object `coefficient` not found.
> sage: (a+1).coefficient(a)
> 0
> sage: (a+1)
> a + 1
> sage: (a+1).coefficient(a)
> 1
> }}}
New description:
{{{
sage: x.coefficient?
...this works...
sage: (x+1).coefficient?
Object `coefficient` not found.
sage: (x+1).n?
...this works...
}}}
Previous description:
In Sage 6.5:
{{{
sage: var("a")
a
sage: (a+1).coefficient?
Object `coefficient` not found.
sage: (a+1).coefficient(a)
0
sage: (a+1)
a + 1
sage: (a+1).coefficient(a)
1
}}}
--
Comment:
Actually there is still the issue why you don't get the help with `?`:
{{{
sage: x.coefficient?
sage: (x+1).coefficient?
Object `coefficient` not found.
sage: (x+1).n?
...this works...
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/18319#comment:4>
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.