Socket
Book a DemoInstallSign in
Socket

hermite-coefficients

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermite-coefficients

Returns coefficients of degree n Hermite polynomial

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

hermite-coefficients

Returns the coefficients for the nth probabilists' Hermite polynomial in increasing order.

Install

npm install hermite-coefficients

Example

var H = require("hermite-coefficients")
for(var i=0; i<10; ++i) {
  console.log(H(i))
}

Prints out:

[ 1 ]
[ 0, 1 ]
[ -1, 0, 1 ]
[ 0, -3, 0, 1 ]
[ 3, 0, -6, 0, 1 ]
[ 0, 15, 0, -10, 0, 1 ]
[ -15, 0, 45, 0, -15, 0, 1 ]
[ 0, -105, 0, 105, 0, -21, 0, 1 ]
[ 105, 0, -420, 0, 210, 0, -28, 0, 1 ]
[ 0, 945, 0, -1260, 0, 378, 0, -36, 0, 1 ]

require("hermite-coefficients")(n)

Returns the coefficients for the degree n Hermite polynomial.

Credits

(c) 2013 Mikola Lysenko

Keywords

hermite

FAQs

Package last updated on 12 Oct 2013

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