|
|
|
|
|
by sheetjs
4408 days ago
|
|
Nice library! For some strange reason, Excel, Mathematica, and bessel on npm (http://npm.im/bessel) disagree with Jmat.js for the bessel family: SetPrecision[BesselY[10,10],20] -0.35981415218340272205
require('bessel').bessely(10,10) -0.35981415215916784
=BESSELY(10,10) -0.35981415215916800
Jmat.bessely(10,10) -0.3598156646154304
|
|
PS: In Mathematica, you should probably use "N[..., 20]" instead of "SetPrecision". It not quite the same and using SetPrecision can cause odd effects if you're not careful, like accidentally triggering numerical evaluation too early.