bdp
v0.0.1
Published
Birth-death process
Downloads
3
Readme
bdp
Install
npm install bdp
Example:
var bdp = require('bdp');
var model = new bdp.BDP([5,4,2], [4,5,10]);
for(var i = 0;i < 4;++i) {
console.log(model.probability(i));
}
API:
bdp.BDP(lambdas, mus)
lambdas
list of birth rates.
mus
list of death rates.
probability(t)
Return probability at the time t
LICENCE
MIT