vecmat 0.2.1

Lightweight low-dimensional vector and matrix library
Documentation

vecmat

Build Status Version

Lightweight low-dimensional vector and matrix library written in Rust

Documentation

Structs:

  • Vectors: VecN<T> where N is {2, 3, 4}
  • Matrices: MatNxM<T> (or MatN<T> for square matrices) where N and M are {2, 3, 4}

Features:

  • vector and matrix arithmetcs
  • boolean vector logics
  • vector dot, cross and outer products
  • matrix-matrix and matrix-vector products
  • square matrix determinant and inversion
  • div_floor and mod_floor for integer vectors

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.