JSPM

hermite-coefficients

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q32754F
  • License MIT

Returns coefficients of degree n Hermite polynomial

Package Exports

  • hermite-coefficients

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hermite-coefficients) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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