bdp

0.0.1 • Public • Published

bdp

Birth-death process

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

Readme

Keywords

Package Sidebar

Install

npm i bdp

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • saromanov