3 releases
0.1.3 | Aug 21, 2022 |
---|---|
0.1.2 | Aug 21, 2022 |
0.1.1 | Aug 19, 2022 |
0.1.0 |
|
#2247 in Algorithms
10KB
139 lines
Fibonacci Like
A small crate to help you interact with second order sequences, such as the Fibonacci sequence, with no_std support.
Features
- Find the position of a given number
- Find the number at a given position
- Custom second order sequences
Installation
[dependencies]
fibonacci_like = "0.1"
Usage
let nth = 69;
let number = fibonacci_like::Sequence::fibonacci().calculate(nth);
println!("The \"{nth}\" number of the fibonacci sequence is:\n{number}");
License
One of the following, at your choice:
Made with 💗 by Juliette Cordor
Dependencies
~110KB