good_lp
Peroxide
Our great sponsors
good_lp  Peroxide  

2  3  
88  329  
    
3.0  7.7  
22 days ago  15 days ago  
Rust  Rust  
MIT License  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.
good_lp

Linear Programming in Rust
Actually you can, but your struct has to be generic. I added an example in the repository to make that clear: https://github.com/lovasoa/good_lp/blob/main/tests/resource_allocation_problem.rs
I even have tests that enforce that invalid models do not compile.
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.
What are some alternatives?
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
cgmathrs  A linear algebra and mathematics library for computer graphics.
julia  The Julia Programming Language
rulinalg  A linear algebra library written in Rust
arewelearningyet  How ready is Rust for Machine Learning?
notecalc3  NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
linfa  A Rust machine learning framework.
friedrich  A Rust implementation of Gaussian Process regression.
owl  Owl  OCaml Scientific Computing @ http://ocaml.xyz
smartcore  SmartCore is 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.
PackageCompiler.jl  Compile your Julia Package
argmin  Mathematical optimization in pure Rust