legendre-poly
Returns the coefficients of the nth Legendre polynomial.
Example
var legendre_p = consoleconsoleconsole
Output
[1]
[0, 1]
[-0.5, 0, 1.5]
Install
Install using npm:
npm install legendre-poly
require("legendre-poly")(n)
Returns the coefficients of the nth Legendre polynomial in ascending degree.
License
(c) 2013 Mikola Lysenko. MIT License