|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstatalign.model.subst.plugins.NucleotideModelUtils
public class NucleotideModelUtils
This class implements various utility methods for nucleotide models.
Constructor Summary | |
---|---|
NucleotideModelUtils()
|
Method Summary | |
---|---|
static void |
numericalDiagonalisation(NucleotideModel M,
double[][] Q)
Class method for numerical diagonalisation of rate matrix Q for nucleotide model M. |
static double |
sampleFrequencies(double[] f,
double dmax)
Class method for sampling new equilibrium frequency parameter for one of the frequencies in f, where the maximum allowed change is dmax. |
static double |
sampleRates(double[] r,
double dmax)
Class method for sampling new rate parameter for one of the rates in r, where the maximum allowed change is dmax. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NucleotideModelUtils()
Method Detail |
---|
public static double sampleRates(double[] r, double dmax)
public static double sampleFrequencies(double[] f, double dmax)
public static void numericalDiagonalisation(NucleotideModel M, double[][] Q)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |