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

Distinction between associated Legendre and Ferrers functions #31637

Open
mjungmath opened this issue Apr 10, 2021 · 8 comments
Open

Distinction between associated Legendre and Ferrers functions #31637

mjungmath opened this issue Apr 10, 2021 · 8 comments

Comments

@mjungmath
Copy link

As pointed out in #25034 and https://groups.google.com/g/sage-devel/c/IDtiGF6HB28/m/QWwnAeLJBAAJ there is currently a conflict of conventions.

The current implementation is in line with 1, but as mentioned above this source seems to be flawed and a distinction to Ferrers functions needs to be made (cf. 2 and 3).

More precisely, we want to implement solutions of the ODE 4. There are solutions on (-1,1) called "Ferrers functions" 2 and solutions on (1,oo) which can be extended to the complex plane without the slit (-oo,1] 3. This distinction has not been made yet but yields to different formulas in different cases. The current formulas favor the Ferrers functions.

Here are a few references to consider:

Depends on #25034

CC: @sagetrac-jcwomack @slel @egourgoulhon

Component: misc

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

@mjungmath mjungmath added this to the sage-9.3 milestone Apr 10, 2021
@mjungmath

This comment has been minimized.

@mjungmath

This comment has been minimized.

@mjungmath

This comment has been minimized.

@mjungmath

This comment has been minimized.

@mjungmath

This comment has been minimized.

@mjungmath

This comment has been minimized.

@mjungmath
Copy link
Author

comment:7

I see three options here:

  1. We introduce a flag switching back and forth between Ferrers functions and Legendre functions (like it is done in Mathematica).
  2. We introduce an environment variable making that distinction (like in Maple).
  3. We separate Ferrers functions and Legendre functions completely; for example ferrers_func and gen_legendre_P.

I advocate the latter option since it leads to less confusion for the end-user (and developer).

Other than that, implementing connection formulas to Legendre (Ferrers) functions of second kind are also desirable.

@mkoeppe mkoeppe modified the milestones: sage-9.3, sage-9.4 Apr 15, 2021
@mjungmath
Copy link
Author

Dependencies: #25034

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