mirror of
https://github.com/rzmk/ladderz.git
synced 2025-12-26 19:17:00 +00:00
deploy: b4d484686f
This commit is contained in:
parent
5d00665ae7
commit
7135c56691
3 changed files with 56 additions and 4 deletions
|
|
@ -90,11 +90,35 @@
|
|||
<a href="#90" id="90">90</a>
|
||||
<a href="#91" id="91">91</a>
|
||||
<a href="#92" id="92">92</a>
|
||||
<a href="#93" id="93">93</a>
|
||||
<a href="#94" id="94">94</a>
|
||||
<a href="#95" id="95">95</a>
|
||||
<a href="#96" id="96">96</a>
|
||||
<a href="#97" id="97">97</a>
|
||||
<a href="#98" id="98">98</a>
|
||||
<a href="#99" id="99">99</a>
|
||||
<a href="#100" id="100">100</a>
|
||||
<a href="#101" id="101">101</a>
|
||||
<a href="#102" id="102">102</a>
|
||||
<a href="#103" id="103">103</a>
|
||||
<a href="#104" id="104">104</a>
|
||||
<a href="#105" id="105">105</a>
|
||||
<a href="#106" id="106">106</a>
|
||||
<a href="#107" id="107">107</a>
|
||||
<a href="#108" id="108">108</a>
|
||||
<a href="#109" id="109">109</a>
|
||||
<a href="#110" id="110">110</a>
|
||||
<a href="#111" id="111">111</a>
|
||||
<a href="#112" id="112">112</a>
|
||||
</pre></div><pre class="rust"><code><span class="doccomment">//! # ladderz
|
||||
//!
|
||||
//! Implementations of mathematical and technical concepts in Rust.
|
||||
//!
|
||||
//! View [the modules section](#modules) for the various implementations based on the subject.
|
||||
//! ## Subjects
|
||||
//!
|
||||
//! The modules for currently supported subjects are:
|
||||
//!
|
||||
//! - [`pre_algebra`]
|
||||
//!
|
||||
//! # Example
|
||||
//!
|
||||
|
|
@ -181,5 +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}.
|
||||
/// ```
|
||||
///
|
||||
</span><span class="kw">pub mod </span>pre_algebra;
|
||||
</code></pre></div></section></main></body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue