Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved orthogonal functions #3148

Closed
sagetrac-fwclarke mannequin opened this issue May 10, 2008 · 3 comments
Closed

improved orthogonal functions #3148

sagetrac-fwclarke mannequin opened this issue May 10, 2008 · 3 comments

Comments

@sagetrac-fwclarke
Copy link
Mannequin

sagetrac-fwclarke mannequin commented May 10, 2008

The defects in the code for the hermite function in
sage/functions/orthogonal_polys.py which were noted and corrected in
#2336 apply equally to the other functions in that file.

The attached patch applies the same fix that worked for hermite to the
following functions:

chebyshev_T,
chebyshev_U,
gen_laguerre,
gen_legendre_P,
gen_legendre_Q,
jacobi_P,
laguerre,
legendre_P,
legendre_Q,
ultraspherical

This allows these polynomials to take much more general
arguments; see the examples given for legendre_P.

The functions:

gen_legendre_P,
gen_legendre_Q,
legendre_Q

no longer yield a string representing a Maxima expression when the
argument is a variable.

For m > n the function gen_legendre_Q(n, m, x)
has to be computed independently of Maxima. This part of the code may
need improving.

The introductory documentation has not been changed.

Component: calculus

Keywords: orthogonal polynomials Maxima

Issue created by migration from https://trac.sagemath.org/ticket/3148

@sagetrac-fwclarke sagetrac-fwclarke mannequin added this to the sage-3.0.3 milestone May 10, 2008
@sagetrac-fwclarke
Copy link
Mannequin Author

sagetrac-fwclarke mannequin commented May 10, 2008

Attachment: sage-3148.patch.gz

@mwhansen
Copy link
Contributor

comment:2

Looks good to me. All the tests pass, and the patch definitely simplifies the code.

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 23, 2008

comment:3

Merged in Sage 3.0.2.rc0

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed May 23, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-3.0.3, sage-3.0.2 May 23, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants