Socket
Book a DemoInstallSign in
Socket

legendre-poly

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

legendre-poly

Coefficients of Legendre polynomials

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
6
Created
Source

legendre-poly

Returns the coefficients of the nth Legendre polynomial.

build status

Example

var legendre_p = require("legendre-poly")

console.log(legendre_p(0))
console.log(legendre_p(1))
console.log(legendre_p(2))

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

Keywords

scijs

FAQs

Package last updated on 02 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts