ndarray-odeint 0.5.1

solve ODE using rust-ndarray
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

extern crate ndarray;
extern crate ndarray_odeint;

use ndarray::*;
use ndarray_odeint::*;

#[test]
fn view_mut() {
    let dt = 0.01;
    let eom = model::Lorenz63::default();
    let teo = explicit::rk4(eom, dt);
    let mut x: Array1<f64> = arr1(&[1.0, 0.0, 0.0]);
    let _x = teo.iterate(x.view_mut());
}