-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from thomwiggers/bump-version
Bump to version 0.4.0
- Loading branch information
Showing
3 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
This crate provides some convenient and safe methods to compute the factorial with an efficient method. More precisely it uses the prime swing algorithm to compute the factorial. See [this paper](https://oeis.org/A000142/a000142.pdf) for more detail. | ||
# Compute factorials | ||
|
||
It can compute the factorial in `O(n (log n loglog n)^2)` operations of multiplication. The time complexity of this algorithm depends on the time complexity of the multiplication algorithm used. | ||
This crate provides some convenient and safe methods to compute the factorial | ||
with an efficient method. More precisely it uses the prime swing algorithm to | ||
compute the factorial. See [this paper](https://oeis.org/A000142/a000142.pdf) | ||
for more detail. | ||
|
||
It can compute the factorial in `O(n (log n loglog n)^2)` operations of | ||
multiplication. The time complexity of this algorithm depends on the time | ||
complexity of the multiplication algorithm used. |