From 78c9ee1c67d575d89daa9249338f18b8570d461f Mon Sep 17 00:00:00 2001 From: rzmk Date: Thu, 21 Sep 2023 12:14:36 +0000 Subject: [PATCH] deploy: 2ef7302a1c307b1ed12cfe873ad89fb52ad6c13c --- ladderz/index.html | 6 +++--- src/ladderz/lib.rs.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ladderz/index.html b/ladderz/index.html index 9f25711..19598ee 100644 --- a/ladderz/index.html +++ b/ladderz/index.html @@ -2,7 +2,7 @@

Implementations of mathematical and technical concepts in Rust.

View the modules section for the various implementations based on the subject.

Example

-

Here’s an example of using the ladderz crate to get the factors and factor pairs of a number in sorted order. +

Here’s an example of using the ladderz crate to get the factors and factor pairs of a positive integer in sorted order. We’ll assume you’re using Bash as your terminal.

First let’s create a new Rust project and change into the project directory:

cargo new my_ladderz_project
@@ -50,7 +50,7 @@ cd my_ladderz_project
 

Now let’s build the project’s binary file so we can run it from the command line:

cargo build --release
 
-

Our runnable binary file should be located at the local path ./target/release/my_ladders_project (or ./target/release/my_ladders_project.exe for Windows). Let’s run it with the number 12 as input:

+

Our runnable binary file should be located at the local path ./target/release/my_ladders_project (or ./target/release/my_ladders_project.exe for Windows). Let’s run it with the positive integer 12 as input:

./target/release/my_ladderz_project 12
 

If you have a .exe file instead, you can run it with:

@@ -60,5 +60,5 @@ cd my_ladderz_project
List of factors of 12: [1, 2, 3, 4, 6, 12]
 List of factor pairs of 12: [(1, 12), (2, 6), (3, 4)]
-

Great! We’ve successfully used the ladderz crate to get the factors and factor pairs of a number in sorted order.

+

Great! We’ve successfully used the ladderz crate to get the factors and factor pairs of a positive integer in sorted order.

Modules

\ No newline at end of file diff --git a/src/ladderz/lib.rs.html b/src/ladderz/lib.rs.html index ef19940..8a1460a 100644 --- a/src/ladderz/lib.rs.html +++ b/src/ladderz/lib.rs.html @@ -98,7 +98,7 @@ //! //! # Example //! -//! Here's an example of using the `ladderz` crate to get the factors and factor pairs of a number in sorted order. +//! Here's an example of using the `ladderz` crate to get the factors and factor pairs of a positive integer in sorted order. //! We'll assume you're using Bash as your terminal. //! //! First let's create a new Rust project and change into the project directory: @@ -159,7 +159,7 @@ //! cargo build --release //! ``` //! -//! Our runnable binary file should be located at the local path `./target/release/my_ladders_project` (or `./target/release/my_ladders_project.exe` for Windows). Let's run it with the number `12` as input: +//! Our runnable binary file should be located at the local path `./target/release/my_ladders_project` (or `./target/release/my_ladders_project.exe` for Windows). Let's run it with the positive integer `12` as input: //! //! ```bash //! ./target/release/my_ladderz_project 12 @@ -178,7 +178,7 @@ //! List of factor pairs of 12: [(1, 12), (2, 6), (3, 4)] //! ``` //! -//! Great! We've successfully used the `ladderz` crate to get the factors and factor pairs of a number in sorted order. +//! 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. pub mod pre_algebra;