【文件属性】:
文件名称:rayleigh-median:瑞利分布中位数
文件大小:27KB
文件格式:ZIP
更新时间:2021-04-27 13:24:06
JavaScript
中位数
分布。
随机变量的是
其中sigma > 0是比例参数。
安装
$ npm install distributions-rayleigh-median
要在浏览器中使用,请使用 。
用法
var median = require ( 'distributions-rayleigh-median' ) ;
中位数(sigma [,opts])
计算具有参数sigma的分布的。 sigma可以是number , array ,typed array或matrix 。
var matrix = require ( 'dstructs-matrix' ) ,
data ,
mat ,
out ,
i ;
out = median ( 0.5 ) ;
// returns ~0.589
sigma = [ 0.5 , 1 , 2 , 4 ] ;
out = median
【文件预览】:
rayleigh-median-master
----.jshintrc(1KB)
----.gitattributes(12B)
----.jshintignore(118B)
----lib()
--------validate.js(2KB)
--------typedarray.js(850B)
--------deepset.js(961B)
--------accessor.js(940B)
--------matrix.js(657B)
--------index.js(3KB)
--------array.js(809B)
--------number.js(547B)
----.npmignore(498B)
----examples()
--------index.js(1KB)
----TODO.md(12B)
----.travis.yml(149B)
----LICENSE(1KB)
----test()
--------utils()
--------test.validate.js(3KB)
--------test.js(7KB)
--------test.typedarray.js(1KB)
--------test.accessor.js(2KB)
--------test.matrix.js(2KB)
--------test.number.js(895B)
--------test.array.js(1KB)
--------test.deepset.js(2KB)
----README.md(9KB)
----Makefile(2KB)
----docs()
--------img()
----.editorconfig(169B)
----.gitignore(1KB)
----package.json(2KB)