sl: A scientific library
Analysis package
nadiff(numerical differentiation)quad(numerical integration)ode(ordinary differential equations)interpolation(obtain functions from data)
Mathematical functions package
mf(mathematical functions)sf(special functions)
See Implementation of special functions.
Plotting package
gxCanvas(a canvas to draw)
Example
extern crate sl;
use gauss;
use euler;
// Calculate ln(x) = integral(1 to x) 1/t dt
// by Gaussian quadrature.
// Output:
// 1.0000 | 0.0000 | 2.7169 | 1.0000
// 2.0000 | 0.6931 | 7.3817 | 1.9993
// 3.0000 | 1.0986 | 20.0555 | 2.9984
// 4.0000 | 1.3863 | 54.4891 | 3.9972
// 5.0000 | 1.6094 |148.0428 | 4.9960