Skip to main content

dist-helpers.tppl

function categoricalLogPdf​

Log-PDFs for distributions used

function categoricalLogPdf(x: Int, params: Real[]) => Real

function exponentialLogPdf​

function exponentialLogPdf(x: Real, rate: Real) => Real

function getRepertoireDebt​

function getRepertoireDebt(x: Int[], samplingProb: Matrix[Real], nhosts: Int) => Real

function mtx3ToSeq​

Node repertoire debt

function mtx3ToSeq(mtx: Matrix[Real], i: Int ) => Real[]

function uniformLogPdf​

function uniformLogPdf(x: Real, a: Real, b: Real) => Real