perpendicular

Crates.ioperpendicular
lib.rsperpendicular
version0.1.9
sourcesrc
created_at2021-06-20 22:39:34.876544
updated_at2021-10-21 15:12:26.284144
descriptionPerpendicular is a simple general purpose n-dimensional vector library.
homepagehttps://github.com/jonay2000/perpendicular
repositoryhttps://github.com/jonay2000/perpendicular
max_upload_size
id412607
size49,929
Jonathan Dönszelmann (jdonszelmann)

documentation

https://docs.rs/perpendicular

README

Perpendicular

Docs.rs Crates.io Github Workflows

Perpendicular is a simple general purpose n-dimensional vector library.

This is not a general purpose linear algebra library. Instead, it's designed as a tool for simple physics simulations which just need to store some coordinates or velocities together.

use perpendicular::Vector;

let v1 = Vector::new((1, 2, 3));
let v2 = Vector::new((3, 4, 5));
let v3 = Vector::new((5, 6, 7));

println!("{}", v1 + v2 * v3);

License

This code is licensed under the Apache 2.0 license

Commit count: 19

cargo fmt