#13720: Scale legendre_P to [a,b]
------------------------------------+---------------------------------------
Reporter: mjo | Owner: burcin
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Michael Orlitzky | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Comment (by kcrisman):
Brief questions:
* When special-casing `n=0`, you have
{{{
return 1
}}}
Will this be a Python int?
* What if `n` is a Python int?
{{{
We can accept Python integers for ``x`` as well::
}}}
* How's speed? I can imagine the sum thing getting slow.
* Am I misreading this? Should it be beta = 1?
{{{
# From Abramowitz & Stegun, (22.3.2) with alpha = beta = 0.
}}}
Oh, I see. [http://people.math.sfu.ca/~cbm/aands/page_775.htm It's
actually (22.3.1)] and maybe this should be in the code with a reference
section.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13720#comment:9>
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/groups/opt_out.