gauss-legendre

1.0.0 • Public • Published

Given the lower and upper limits of integration x1 and x2, this routine returns arrays x and w of length n, containing the abscissas and weights of the Gauss-Legendre n-point quadrature formula.

Usage

import gauleg from 'gauss-legendre';
 
const { x, w } = gauleg(n, x1, x2);

Dependents (0)

Package Sidebar

Install

npm i gauss-legendre

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.6 kB

Total Files

4

Last publish

Collaborators

  • dmaevsky