Skip to content

Gauss-Legendre quadrature abscissas and weights calculation in JS

License

Notifications You must be signed in to change notification settings

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