Skip to content

Implementation of the Riemann Zeta Function packaged as an NPM module

License

Notifications You must be signed in to change notification settings

rauljordan/zeta.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zeta

Riemann Zeta Function in javascript with a 1.3% accuracy error

browser support

Build Status

example

> var zeta = require('riemann-zeta')
> zeta(0)
-0.5
> zeta(10)
1.00071

methods

var zeta = require('riemann-zeta')

zeta(s)

Return the riemann zeta function over s.

install

With npm do:

npm install riemann-zeta

license

MIT

credits

The approximation follows from the Euler-Maclaurin sum formula (Ralston and Rabinowitz, 2001 by not considering the impact of Bernoulli numbers on the calculation and taking the case when the lower limit of integration is specifically 2. Then, the approximation follows and works well enough for modern browsers and mathematical applications.

About

Implementation of the Riemann Zeta Function packaged as an NPM module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published