ankane / dist.h

PDF, CDF, and percent-point/quantile functions for the normal and Student’s t distributions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dist.h

PDF, CDF, and percent-point/quantile functions for the normal and Student’s t distributions

Build Status

Installation

Add the header to your project and include it

#include "dist.h"

Getting Started

Normal

normal_pdf(x, mean, std_dev);
normal_cdf(x, mean, std_dev);
normal_ppf(p, mean, std_dev);

Student’s t

students_t_pdf(x, df);
students_t_cdf(x, df);
students_t_ppf(p, df);

References

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

To get started with development:

git clone https://github.com/ankane/dist.h.git
cd dist.h
gcc -Wall -Wextra -Werror -o test/main test/main.c -lm
test/main

About

PDF, CDF, and percent-point/quantile functions for the normal and Student’s t distributions

License:The Unlicense


Languages

Language:C 100.0%