boys 0.1.0

Different algorithms for calculating the Boys function
Documentation
1
2
3
4
5
6
7
8
9
use boys;

#[test]
fn api() {
    let thresh = 1.0e-16;
    let ref_2_2p0 = 0.0529428148329765;
    assert!(boys::exact::boys(2, 2.0) - ref_2_2p0 < thresh);
    assert!(boys::micb25::boys(2, 2.0) - ref_2_2p0 < thresh);
}