Crate ladderz

source ·
Expand description

ladderz

Implementations of mathematical and technical concepts in Rust.

Installing the crate

To add the crate to your project, add the following dependency under your [dependencies] section in your Cargo.toml:

ladderz = { git = "https://github.com/rzmk/ladderz", branch = "main" }

Example

use ladderz::pre_algebra::get_factors;

let x: u32 = 10;
println!("The factors of {x} are {:?}.", get_factors(x));
The factors of 10 are {1, 5, 2, 10}.

For a more detailed example of how to use the ladderz crate, please see the example on GitHub.

Choose a module to view its available functions.

Modules

  • Various pre-algebra implementations including factor pairs, factors, multiples, and more.