Low-dimensional vector algebra structures and operations.
VectorN
MatrixMxN
Quaternion
(and Complex
from num_complex
)ShiftN
LinearN
AffineN
RotationN
std
(crate could be used with no_std
).random
- distributions for generating random primitives (std
is required for now).approx
- approximate comparison for primitives.All these features are enabled by default.
+
, -
, *
, /
, %
).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.min-const-generics
support!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.