Ariprog
🧮 Need a powerful and simple library to work with arithmetic progressions in Rust? You should definitively try ariprog out!
Features
Here's a list of what ariprog is capable of.
- Solve AP problems with
get_common_difference,get_first_term,get_nth_termandinsert_arithmetic_means. - Store an AP (
new) and solve problems with methods.
In the next section, I'll explain how to install and use it.
Usage
Installation
- Create a new Rust project or open an existing one
- Add ariprog as a dependency
# (1)
# or
# (2)
See below the latest ariprog version.
Getting started
use ;
API
Coming soon...
Contributing
Feel free to fork it, make a change and open a pull request. Same for issues, suggest an API change, an improvement, a feature or report a bug.
How to contribute
- Fork this repository
- Clone your fork on your machine
- Make your changes, commit and push these
- Open a pull request (write a descriptive message about what you changed)
How to run and where to create tests
To test ariprog, with the project in your machine, run cargo test.
You should create tests in tests/unit_test.rs, however if you think that your tests should be in other module, do it and explain why in the PR.
License
This project is licensed under the MIT License - See the LICENSE for more information.
Made with ❤ and 🦀 by Kauê Fraga Rodrigues.