【文件属性】:
文件名称:rayleigh-pdf:瑞利分布概率密度函数(PDF)
文件大小:78KB
文件格式:ZIP
更新时间:2021-04-27 13:19:40
JavaScript
概率密度函数
分布概率密度函数(PDF)。
随机变量的(PDF)为
其中sigma是比例参数。
安装
$ npm install distributions-rayleigh-pdf
要在浏览器中使用,请使用 。
用法
var pdf = require ( 'distributions-rayleigh-pdf' ) ;
pdf(x [,选项])
评估分布的(PDF)。 x可以是 , array ,typed array或matrix 。
var matrix = require ( 'dstructs-matrix' ) ,
mat ,
out ,
x ,
i ;
out = pdf ( 1 ) ;
// returns ~0.607
out = pdf ( - 1 ) ;
// returns 0
x = [ 0 , 0.5 , 1 , 1.5 , 2 , 2.5
【文件预览】:
rayleigh-pdf-master
----.travis.yml(148B)
----.jshintignore(118B)
----docs()
--------img()
----package.json(2KB)
----test()
--------test.array.js(2KB)
--------test.js(10KB)
--------test.matrix.js(2KB)
--------test.number.js(1KB)
--------test.typedarray.js(1KB)
--------test.partial.js(1KB)
--------test.accessor.js(2KB)
--------test.deepset.js(2KB)
--------test.validate.js(3KB)
--------fixtures()
----LICENSE(1KB)
----TODO.md(12B)
----.npmignore(498B)
----examples()
--------index.js(1KB)
----.gitignore(1KB)
----lib()
--------index.js(3KB)
--------deepset.js(1KB)
--------accessor.js(1KB)
--------number.js(556B)
--------partial.js(787B)
--------typedarray.js(959B)
--------array.js(924B)
--------matrix.js(784B)
--------validate.js(3KB)
----Makefile(2KB)
----README.md(9KB)
----.jshintrc(1KB)
----.editorconfig(169B)
----.gitattributes(12B)