multifactorials 0.3.0

A Rust crate who allows you to use multi factorials
Documentation
  • Coverage
  • 50%
    2 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 4.22 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ItsMeViipeR

Multifactorials is a powerful mathematics tool who allows you to calculate factorials easily.

Installation

To use multifactorials, you need to add it to your dependencies like in the example bellow:

[package]

name = "my-beautiful-crate"

version = "0.1.0"



[dependencies]

multifactorials = "0.3.0"

Example

use multifactorials::Multifactorials;

fn main() {
    let simple_factorial = Multifactorials::simple(7.0);
    let complex_factorial = Multifactorials::complex(7.0, 2);
    
    println!("The result of 7! is {}", simple_factorial);
    println!("The result of 7!! is {}", complex_factorial);
}