Skip to content

Silzinc/fractios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The fractios crate

A Rust crate to handle rational fractions

This library simply allows to create, multiply, add, subtract, divide rational fractions, through a RatioFrac struct. It uses the polynomials of the polyx crate. It also grants functions to parse to $\LaTeX$ strings and a reduce method to change the fraction in order to make its numerator and denominator coprime.

RatioFrac structs are only intended to be instantiated with coefficients of type f32, f64, Complex<f32>, Complex<f64>.

About

A crate for rational fractions arithmetic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages