48 Matrix<double>* probs =
new LinearMatrix<double>(n, n);
49 for (
size_t i = 0; i < n; i++)
50 for (
size_t j = 0; j < n; j++)
51 (*probs)(i, j) = (i == j ? 1. -
tmp_(i, j) : 1.);
const SubstitutionModel * model_
Matrix< double > * getAllNumbersOfSubstitutions(double length, size_t type=1) const
Get the numbers of susbstitutions on a branch, for each initial and final states, and given the branc...
virtual const Matrix< double > & getPij_t(double t) const =0
virtual size_t getNumberOfStates() const =0
Get the number of states.