#17151: symbolic Laguerre / associated Laguerre polynomials
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: symbolics | Resolution:
Keywords: special, | Merged in:
function, holonomic, orthogonal | Reviewers:
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: u/rws/17151 | ea2ff9b11a520edd58b1db527ef41eed6b0e7f85
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by mmezzarobba):
Replying to [comment:16 rws]:
> Replying to [comment:14 mmezzarobba]:
> > {{{
> > sage: gen_laguerre(0, 1, x+1).expand()
> > ...
> > AttributeError: 'sage.rings.integer.Integer' object has no attribute
'expand'
> > }}}
> Well that is `ZZ(1)` and cannot be expanded. I don't think we should
return `SR(1)`.
Why? Having similar calls to the same function return elements of
different parents (or even values of different types) is rarely a good
idea... That being said, I don't thing we should return `SR(1)` in all
cases, but perhaps something like `pushout(QQ, parent(x))`.
--
Ticket URL: <http://trac.sagemath.org/ticket/17151#comment:17>
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.