distributions
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "distributions", | ||
"description": "A collection of probability distribution functions", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Andreas Madsen <amwebdk@gmail.com>", | ||
@@ -24,9 +24,5 @@ "main": "./distributions.js", | ||
"devDependencies": { | ||
"tap": "0.4.x" | ||
"tap": "0.6.x" | ||
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": "0.10", | ||
"npm": "1" | ||
} | ||
"license": "MIT" | ||
} |
@@ -17,9 +17,9 @@ #distributions | ||
console.log(mathfn.pdf(1)); // 0.199... | ||
console.log(mathfn.cdf(1)); // 0.5 | ||
console.log(mathfn.inv(1)); // Infiniy | ||
console.log(normal.pdf(1)); // 0.199... | ||
console.log(normal.cdf(1)); // 0.5 | ||
console.log(normal.inv(1)); // Infiniy | ||
console.log(mathfn.mean()); // 1 | ||
console.log(mathfn.median()); // 1 | ||
console.log(mathfn.variance()); // 4 | ||
console.log(normal.mean()); // 1 | ||
console.log(normal.median()); // 1 | ||
console.log(normal.variance()); // 4 | ||
``` | ||
@@ -26,0 +26,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18424