5 releases (breaking)
new 0.5.0 | Mar 30, 2025 |
---|---|
0.4.0 | Mar 2, 2025 |
0.3.0 | Feb 2, 2025 |
0.2.0 | Jan 12, 2025 |
0.1.0 | Jan 10, 2025 |
#1 in #goal
165 downloads per month
26KB
626 lines
Rust Crate for Working with Mathematical Operations
The Goal of mathsharp is to provide a fast and friendly experience for anyone needing to use math in their projects, from unit converisons to calculus and beyond.
Example
Below example demonstrates using a temperature conversion function.
use mathsharp::fahrenheit_celsius;
fn main() {
//declare value you want to convert
let from_fahrenheit = 32.0;
let to_celsius = fahrenheit_celsius(from_fahrenheit);
println!("{} fahrenheit is equal to {} Celsius", from_fahrenheit, to_celsius);
}
News
Version 0.5.0 brings the rest of the Block 1 update content along with the April update in Block 2.
Behind the scenes mathsharp is developing tools for the future algebra and calculus Blocks.
Roadmap
MathSharp aims to add areas of mathematics in blocks each with consistent monthly updates.
BLOCK 1: Unit Conversions
March 1st Update:
length, mass, volume, area, time, pressure, energy, power
BLOCK 2: Geometric Calculations
April 1st Update:
perimeter, area, volume, triangles, circles, quadrilaterals
May 1st Update:
trigonometry
BLOCK 3: Algebra
June 1st Update: TBD
More Blocks will be added and existing ones updated as MathSharp progresses towards its goal
Website On its way!
Around the time of BLOCK 3 MathSharp website will be launched using the Dioxus framework to create a place for more documentation, math resources and a special surprise!