CommandslegendreAOn this pagelegendreA legendreA (n, m, x) The legendreA function returns the associated Legendre polynomial: Pnm(x)\displaystyle P_{n}^{m}(x)Pnm(x) where n and m are integers such that 0 <= m <= n and |x | <= 1. References Arfken, G., Mathematical Methods for Physicists, Academic Press, New York, 1985.