ohsl 0.12.0

A collection of numerical routines and mathematical types for use in scientific computing.
Documentation
1
2
3
4
5
6
7
8
9
10
use ohsl::vector::Vec64;

#[test]
fn test_vector_random() {
    let v = Vec64::random( 5 );
    assert_eq!( v.size(), 5 );
    assert!( v[0] > 0.0 );
    assert!( v[0] < 1.0 );
    assert!( v[0] - v[1] != 0.0 );
}