Crates.io | vecmat |
lib.rs | vecmat |
version | 0.7.8 |
source | src |
created_at | 2017-05-18 07:03:28.130741 |
updated_at | 2022-04-21 02:17:40.980204 |
description | Low-dimensional vector algebra with min_const_generics support |
homepage | https://github.com/agerasev/vecmat-rs |
repository | https://github.com/agerasev/vecmat-rs |
max_upload_size | |
id | 15012 |
size | 225,436 |
Low-dimensional vector algebra with const generics support.
std
- use std. Crate could be used with no_std
.rand
- distributions for generating random entities.approx
- approximate comparison.All these features are enabled by default.
Vector
.Matrix
.Complex
and Quaternion
.Shift
.Linear
.Affine
.Rotation2
and Rotation3
.Moebius
(over Complex
and Quaternion
).min_const_generics
support.+
, -
, *
, /
, %
).div_floor
, mod_floor
and bitwise).all
, any
).Copy
(and non-Clone
) elements.into_iter()
for vectors (and map
, zip
, unzip
, fold
, scan
, etc.).dot
, cross
and outer
products for vectors.Rotation4
.Licensed under either of
at your option.
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.