https://github.com/eendroroy/numberlab
A collection of numerical algorithms
https://github.com/eendroroy/numberlab
algorithm mathematical-algorithms numerical-calculations
Last synced: 8 months ago
JSON representation
A collection of numerical algorithms
- Host: GitHub
- URL: https://github.com/eendroroy/numberlab
- Owner: eendroroy
- License: agpl-3.0
- Created: 2025-01-22T13:00:13.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2025-03-24T10:37:14.000Z (9 months ago)
- Last Synced: 2025-03-24T11:36:17.428Z (9 months ago)
- Topics: algorithm, mathematical-algorithms, numerical-calculations
- Language: Rust
- Homepage: https://eendroroy.github.io/numberlab/
- Size: 357 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`:
```toml
[dependencies]
numberlab = "0.1.9"
```
For examples of how to use this library, refer to the documentation at [docs.rs](https://docs.rs/numberlab).
For specific examples, refer to the [`examples`](./examples) directory in the repository.
## List of algorithms
- Algorithms:
- Factorization
- Graph
- BFS
- DFS
- Dijkstra
- A*
- Matrix
- BFS
- DFS
- Dijkstra
- A*
- Coordinates:
- Cartesian
- Polar
- Figurate Sequences:
- Hexagonal Numbers ([OEIS A000384](https://oeis.org/A000384))
- Lazy Caterer's Sequence ([OEIS A000124](https://oeis.org/A000124))
- Pentagonal Numbers ([OEIS A000326](https://oeis.org/A000326))
- Square Numbers ([OEIS A000290](https://oeis.org/A000290))
- Star Numbers ([OEIS A003154](https://oeis.org/A003154))
- Stella Octangula Numbers ([OEIS A007588](https://oeis.org/A007588))
- Triangular Numbers ([OEIS A000217](https://oeis.org/A000217))
- Formula
- Arithmetic
- Combination
- Factorial
- GCD
- LCM
- Permutation
- Patterns:
- Pascal's Triangle ([OEIS A007318](https://oeis.org/A007318))
- Primes:
- Sieve:
- Eratosthenes
- Sundaram
- Sequences:
- Arithmetic Sequence
- Factorial Sequence ([OEIS A000142](https://oeis.org/A000142))
- Fibonacci Sequence ([OEIS A000045](https://oeis.org/A000045))
- Geometric Sequence
- Lucas Sequence ([OEIS A000032](https://oeis.org/A000032))
- Recaman Sequence ([OEIS A005132](https://oeis.org/A005132))
- Sylvester's Sequence ([OEIS A000058](https://oeis.org/A000058))
- Tribonacci Sequence ([OEIS A000073](https://oeis.org/A000073))
- Structures:
- Matrix
- Graph
## License
This project is licensed under the [GNU AGPL-3.0 License](https://www.gnu.org/licenses/agpl-3.0.html). See
the [LICENSE](./LICENSE) file for more details.