Vectors for all, now with const support! (Rust library for all kinds of math)
| binary | init animation | |
| crates/animation | init animation | |
| examples/linear_regression | half working linear regression example (would anyone even need that?) | |
| src | half working linear regression example (would anyone even need that?) | |
| .gitignore | half working linear regression example (would anyone even need that?) | |
| Cargo.lock | half working linear regression example (would anyone even need that?) | |
| Cargo.toml | half working linear regression example (would anyone even need that?) | |
| README.md | half working linear regression example (would anyone even need that?) | |
thinmath - vectors for all, now with const support!
thinmath is a Rust library for vectors and matrices, also other kinds of math stuff.
It aims to be simple, fast, safe and inlinable.
Oh, also, thinmath is no_std!
Features
Traits
- (const)
Dotfor dot products Constvariants ofAdd,Sub,MulandDivConstNumber, a trait for number typesVectorizeandVectorize2for turning a type into a vector of specified type and size
Arrays
- 1D arrays
- 2D arrays
Compatibility
- with
rkyv0.8 (feature flag:rkyv-08)