jstat
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -526,2 +526,6 @@ ## Distributions | ||
#### jStat.poisson.sample( l ) | ||
Returns a random number whose distribution is the Poisson distribution with rate parameter l (lamda) | ||
### jStat.triangular | ||
@@ -589,2 +593,2 @@ | ||
Returns the variance of the Uniform distribution from a to b. | ||
Returns the variance of the Uniform distribution from a to b. |
{ | ||
"name" : "jstat", | ||
"version" : "1.7.1", | ||
"version" : "1.7.2", | ||
"description" : "Statistical Library for JavaScript", | ||
@@ -21,4 +21,4 @@ "homepage" : "http://github.com/jstat/jstat", | ||
"devDependencies" : { | ||
"uglify-js" : "1.2.3", | ||
"vows" : "https://github.com/flatiron/vows/archive/master.tar.gz" | ||
"uglify-js" : ">=2.6.0", | ||
"vows" : "^0.8.2" | ||
}, | ||
@@ -25,0 +25,0 @@ "scripts" : { |
@@ -667,4 +667,5 @@ var jStat = (function(Math, undefined) { | ||
for (var i = 0; i < funcs.length; i++) (function(passfunc) { | ||
jProto[passfunc] = new Function( | ||
'return jStat(jStat.' + passfunc + '.apply(null, arguments));'); | ||
jProto[passfunc] = function() { | ||
return jStat(jStat[passfunc].apply(null, arguments)); | ||
}; | ||
})(funcs[i]); | ||
@@ -671,0 +672,0 @@ })('create zeros ones rand identity'.split(' ')); |
Sorry, the diff of this file is too big to display
615372
151
14741