Socket
Book a DemoInstallSign in
Socket

gsl-cdf

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gsl-cdf

cumulative distribution functions of probability distributions forJS via GNU Scientific Library

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

NPM version

gsl-cdf-js

probability distributions for JS via GNU Scientific Library

Installation

Via npm:

npm install gsl-cdf

To use it inside node:

var cdf = require("gsl-cdf");

API

The prefix gsl_cdf_ was removed from the original function definitions. For example, while in C you would call gsl_cdf_exponential_P(x, mu) to evaluate the cumulative distribution function of an exponentially distributed random variable with mean mu at value x , the function is exported simply as exponential_P(x, mu).

Example:

cdf.exponential_P(3, 2);

Output:

0.7768698398515702

Keywords

math

FAQs

Package last updated on 25 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts