Skip to content

dmaevsky/gauss-legendre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Gauss-Legendre quadrature abscissas and weights calculation in JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published