moonalloy 0.3.2

The oxidized scientific computing library for the 21st century
Documentation
1
2
3
4
5
6
7
use moonalloy::linalg::array::Array;

#[test]
fn test_array_dotp_on_itself() {
    let arr: Array = Array::from(&mut [1.0, 2.0, 3.0]);
    assert_eq!(arr.dotp(&arr), 14.0);
}