|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.evolution.substmodel.MatrixExponential
public class MatrixExponential
compute matrix exponential and, subsequently, transition probabilities for a given rate matrix
Constructor Summary | |
---|---|
MatrixExponential(int dimension)
|
|
MatrixExponential(RateMatrix r)
create module |
Method Summary | |
---|---|
int |
getDimension()
|
void |
getTransitionProbabilities(double[][] probabilityStore)
A utility method for speed, transfers trans prob information quickly into store |
double |
getTransitionProbability(int from,
int to)
|
void |
setDistance(double arc)
compute transition probabilities for a expected distance using the prespecified rate matrix |
void |
setDistanceTranspose(double arc)
compute transition probabilities for a expected distance using the prespecified rate matrix. |
void |
setMatrix(RateMatrix r)
update rate matrix used in present module |
void |
updateByRelativeRates(double[][] relativeRates)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatrixExponential(int dimension)
public MatrixExponential(RateMatrix r)
r
- rate matrixMethod Detail |
---|
public final double getTransitionProbability(int from, int to)
public int getDimension()
public void updateByRelativeRates(double[][] relativeRates)
public void setMatrix(RateMatrix r)
r
- rate matrixpublic final void getTransitionProbabilities(double[][] probabilityStore)
public final void setDistance(double arc)
arc
- expected distancepublic final void setDistanceTranspose(double arc)
arc
- expected distance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |