Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 615 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 615 Bytes

polygamma

Rust Document Crates

This library provides Polygamma function. It is forked from http://www.rd.dnc.ac.jp/~tunenori/src/polygamma.c

Usage

use polygamma::polygamma;

fn main() {
    println!("digamma(1.0)  = {}", polygamma(0, 1.0).unwrap());
    println!("trigamma(1.0) = {}", polygamma(1, 1.0).unwrap());
}