Crate eratosthenes

Crate eratosthenes 

Source
Expand description

Mathematics library written in pure Rust.

This library is inspired while solving projecteuler.net problems. You may find the functions of this library useful for those problems.

Note that this library mostly works with usize integers, tested on 64 bit systems, and most of the functions return whether a usize or Vec<usize>

Re-exports§

pub use self::common::array_manipulations::array_clean;
pub use self::common::array_manipulations::array_merge;
pub use self::common::factorizations::factors;
pub use self::common::factorizations::factors_prime;
pub use self::common::mean::mean_f64;
pub use self::common::mean::mean_usize;
pub use self::common::palindrome::is_palindrome;
pub use self::common::summations::sum_even;
pub use self::common::summations::sum_odd;

Modules§

common
sequences
This module includes some mathmetical sequences and related calculations.
statistics
trigonometry
Trigonometric Operations