cgmath-rs
Peroxide
Our great sponsors
cgmath-rs | Peroxide | |
---|---|---|
4 | 3 | |
1,101 | 442 | |
1.9% | - | |
0.0 | 7.8 | |
over 1 year ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cgmath-rs
-
Hey Rustaceans! Got a question? Ask here! (31/2022)!
Take a look into math libraries, like glam, nalgebra, and cgmath. I've only used these through game engines, though, so I can't offer per-basis reviews/advice.
-
Any plans for built-in support of Vec2/Vec3/Vec4 in Rust?
But I am writing a Vulkan-based game engine and I use https://crates.io/crates/cgmath extensively. It has vector classes, all the math functions I need, and it even supports a version of swizzling if you activate the feature. Maybe this crate can do what you need?
-
I want to change my point of view by key input in glium.
There's also a good crate which you can use to quickly create the required matrices called cgmath: https://crates.io/crates/cgmath
-
Rendering large 3D tilemaps with a single draw call at 3000 FPS
One great thing about Rust is that the library ecosystem is surprisingly mature, especially considering how young the language is (1.0 was released in 2015). C# also has good libraries, but from my experience it's kinda fiddly to use most open source libraries with Unity, at least without modifications. Rust's ecosystem has some excellent libraries that help with game development, such as noise for procedural generation and cgmath for linear algebra.
Peroxide
-
Hey Rustaceans! Got a question? Ask here! (39/2022)!
Rust’s standard library is relatively small by design and doesn’t contain any tools for numeric integration. However, you can probably find a crate on crates.io that does what you need. A quick search suggests Peroxide.
-
Is rust good for mathematical computing?
peroxide seems really cool, but I haven't had the opportunity to use it much yet.
-
Filling up gaps in the ecosystem
peroxide covers some of this area. It could work as a starting point for something in the ML or probabilistic programming domains.
What are some alternatives?
nalgebra - Linear algebra library for Rust.
Math PHP - Powerful modern math library for PHP: Features descriptive statistics and regressions; Continuous and discrete probability distributions; Linear algebra with matrices and vectors, Numerical analysis; special mathematical functions; Algebra
glam-rs - A simple and fast linear algebra library for games and graphics
notecalc3 - NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
rust-gmp
are-we-learning-yet - How ready is Rust for Machine Learning?
Ruma - A set of Rust crates for interacting with the Matrix chat network.
linfa - A Rust machine learning framework.
rust-GSL - A GSL (the GNU Scientific Library) binding for Rust
rulinalg - A linear algebra library written in Rust
blas - Wrappers for BLAS (Fortran)
smartcore - A comprehensive library for machine learning and numerical computing. The library provides a set of tools for linear algebra, numerical computing, optimization, and enables a generic, powerful yet still efficient approach to machine learning.