r 0.0.9

a set of utils for machine learning
Documentation
1
2
3
4
5
6
7
8
9
use r::math;

#[test]
fn abs() {
    assert!(math::abs(-1) == 1);
    assert!(math::abs(0) == 0);
    assert!(math::abs(1) == 1);
    assert!(math::abs(-1024000) == 1024000);
}