6 releases
new 0.1.8 | Feb 17, 2025 |
---|---|
0.1.7 | Feb 16, 2025 |
0.1.1 |
|
#257 in Math
712 downloads per month
86KB
1K
SLoC
numberlab
A collection of numerical algorithms
Overview
numberlab
is a Rust library that provides a variety of numerical algorithms, including matrix operations, prime number
sieves, and various sequences. It is designed to be easy to use and efficient.
Installation
To use the numberlab
library in your Rust project, add the following to your Cargo.toml
:
[dependencies]
numberlab = "0.1.8"
For examples of how to use this library, refer to the documentation at docs.rs.
For specific examples, refer to the examples
directory in the repository.
List of algorithms
- Algorithms:
- Factorization
- Coordinates:
- Cartesian
- Polar
- Figurate Sequences:
- Hexagonal Numbers (OEIS A000384)
- Lazy Caterer's Sequence (OEIS A000124)
- Pentagonal Numbers (OEIS A000326)
- Square Numbers (OEIS A000290)
- Star Numbers (OEIS A003154)
- Stella Octangula Numbers (OEIS A007588)
- Triangular Numbers (OEIS A000217)
- Formula
- Arithmetic
- Combination
- Factorial
- GCD
- LCM
- Permutation
- Arithmetic
- Patterns:
- Pascal's Triangle (OEIS A007318)
- Primes:
- Sieve:
- Eratosthenes
- Sundaram
- Sieve:
- Sequences:
- Arithmetic Sequence
- Factorial Sequence (OEIS A000142)
- Fibonacci Sequence (OEIS A000045)
- Geometric Sequence
- Lucas Sequence (OEIS A000032)
- Recaman Sequence (OEIS A005132)
- Sylvester's Sequence (OEIS A000058)
- Tribonacci Sequence (OEIS A000073)
- Structures:
- Matrix
- Graph
License
This project is licensed under the GNU AGPL-3.0 License. See the LICENSE file for more details.