Skip to content
/ dist.h Public

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

License

Unlicense, MIT licenses found

Licenses found

Unlicense
UNLICENSE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ankane/dist.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Unlicense, MIT licenses found

Licenses found

Unlicense
UNLICENSE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages