Skip to content

Legendre functions for non-integer arguments #15795

@sekisushai

Description

@sekisushai

In module mpmath, Legendre functions of first and second kind are provided with legenp and legenq, they are callable with non-integer argument:

>>> legenp(2.2,1.1,0.1)
0.316775546015185

In Sympy, only the first kind seems to be available with legendre and assoc_legendre. Moreover, they seem to be callable with integer only argument:

>>> assoc_legendre(2.2,1.1,0.1)
assoc_legendre(2.2, 1.1, 0.1)

Would it be possible to add support for first and second kind Legendre functions and associated Legendre functions with non-integer arguments ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Easy to FixThis is a good issue for new contributors. Feel free to work on this if no one else has already.functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions