Crates.io | polygamma |
lib.rs | polygamma |
version | 0.1.0 |
source | src |
created_at | 2020-08-11 12:53:53.222567 |
updated_at | 2020-08-11 12:53:53.222567 |
description | This library provides Polygamma function. |
homepage | |
repository | https://github.com/suzusuzu/polygamma |
max_upload_size | |
id | 275341 |
size | 6,683 |
This library provides Polygamma function. It is forked from http://www.rd.dnc.ac.jp/~tunenori/src/polygamma.c
use polygamma::polygamma;
fn main() {
println!("digamma(1.0) = {}", polygamma(0, 1.0).unwrap());
println!("trigamma(1.0) = {}", polygamma(1, 1.0).unwrap());
}