1
1
Fork
You've already forked thinmath
0
Vectors for all, now with const support! (Rust library for all kinds of math)
  • Rust 100%
2025年06月19日 20:34:25 +03:00
binary init animation 2025年06月07日 00:31:40 +03:00
crates/animation init animation 2025年06月07日 00:31:40 +03:00
examples/linear_regression half working linear regression example (would anyone even need that?) 2025年06月19日 20:34:25 +03:00
src half working linear regression example (would anyone even need that?) 2025年06月19日 20:34:25 +03:00
.gitignore half working linear regression example (would anyone even need that?) 2025年06月19日 20:34:25 +03:00
Cargo.lock half working linear regression example (would anyone even need that?) 2025年06月19日 20:34:25 +03:00
Cargo.toml half working linear regression example (would anyone even need that?) 2025年06月19日 20:34:25 +03:00
README.md half working linear regression example (would anyone even need that?) 2025年06月19日 20:34:25 +03:00

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) Dot for dot products
  • Const variants of Add, Sub, Mul and Div
  • ConstNumber, a trait for number types
  • Vectorize and Vectorize2 for turning a type into a vector of specified type and size

Arrays

  • 1D arrays
  • 2D arrays

Compatibility

  • with rkyv 0.8 (feature flag: rkyv-08)