Expand description
ladderz
Implementations of mathematical and technical concepts in Rust.
-Subjects
+Subjects
The modules for currently supported subjects are:
-
-
pre_algebra
+- pre_algebra - Various pre-algebra implementations including factor pairs, factors, multiples, and more.
Example
Here’s an example of using the ladderz crate to get the factors and factor pairs of a positive integer in sorted order.
diff --git a/ladderz/pre_algebra/index.html b/ladderz/pre_algebra/index.html
index 089d797..a33ec37 100644
--- a/ladderz/pre_algebra/index.html
+++ b/ladderz/pre_algebra/index.html
@@ -1,7 +1,7 @@
Module ladderz::pre_algebra
source · Expand description
Various pre-algebra implementations including factor pairs, factors, multiples, and more.
Example
use ladderz::pre_algebra::get_factors;
-
+
fn main() {
let x: u32 = 10;
println!("The factors of {x} are {:?}.", get_factors(x));
diff --git a/src/ladderz/lib.rs.html b/src/ladderz/lib.rs.html
index f475bfd..5b5e780 100644
--- a/src/ladderz/lib.rs.html
+++ b/src/ladderz/lib.rs.html
@@ -114,11 +114,11 @@
//!
//! Implementations of mathematical and technical concepts in Rust.
//!
-//! ## Subjects
+//! # Subjects
//!
//! The modules for currently supported subjects are:
//!
-//! - [`pre_algebra`]
+//! - [pre_algebra] - Various pre-algebra implementations including factor pairs, factors, multiples, and more.
//!
//! # Example
//!
@@ -205,21 +205,21 @@
//! Great! We've successfully used the `ladderz` crate to get the factors and factor pairs of a positive integer in sorted order.
/// Various pre-algebra implementations including factor pairs, factors, multiples, and more.
-///
+///
/// # Example
-///
+///
/// ```rust
/// use ladderz::pre_algebra::get_factors;
-///
+///
/// fn main() {
/// let x: u32 = 10;
/// println!("The factors of {x} are {:?}.", get_factors(x));
/// }
/// ```
-///
+///
/// ```console
/// The factors of 10 are {1, 5, 2, 10}.
/// ```
-///
+///
pub mod pre_algebra;