liba 0.1.15

An algorithm library based on C/C++
Documentation
1
2
3
4
5
6
7
8
#[test]
fn trajpoly3() {
    let x = 0.5;
    {
        let mut traj = liba::trajpoly3::new(1.0, 0.0, 1.0, 0.0, 1.0);
        std::println!("[{}, {}, {}]", traj.pos(x), traj.vel(x), traj.acc(x));
    }
}