|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.computing.ComputingUtils
public final class ComputingUtils
A class representing some useful methods for computing science
| Constructor Summary | |
|---|---|
ComputingUtils()
|
|
| Method Summary | |
|---|---|
double |
getAmdahlParallelSpeedup(double f,
double n)
The Amdahl law for parallel operations, see http://en.wikipedia.org/wiki/Amdahl%27s_law |
double |
getAmdahlSpeedup(double p,
double s)
The Amdahl law for sequential operations, see http://en.wikipedia.org/wiki/Amdahl%27s_law |
double |
getBinaryEntropy(DoubleVector vector)
The Shannon binary entropy, see http://en.wikipedia.org/wiki/Information_theory, where we use ln instead of log Each value of the Vector should be between 0 and 1, although this is unchecked See also org.jscience.mathematics.statistics.EngineerMathUtils |
double |
getEntropy(DoubleVector vector)
The Shannon entropy, see http://en.wikipedia.org/wiki/Information_theory Each value of the Vector should be between 0 and 1, although this is unchecked See also org.jscience.mathematics.statistics.EngineerMathUtils |
double |
getMutualInformation(DoubleVector vectorX,
DoubleVector vectorY,
DoubleMatrix matrix)
The Shannon mutual information, see http://en.wikipedia.org/wiki/Information_theory Each value of the Matrix should be between 0 and 1, although this is unchecked Each value of each Vector should be between 0 and 1, although this is unchecked See also org.jscience.mathematics.statistics.EngineerMathUtils |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComputingUtils()
| Method Detail |
|---|
public final double getAmdahlSpeedup(double p,
double s)
p - DOCUMENT ME!s - DOCUMENT ME!
public final double getAmdahlParallelSpeedup(double f,
double n)
f - DOCUMENT ME!n - DOCUMENT ME!
public final double getEntropy(DoubleVector vector)
vector - DOCUMENT ME!
public final double getBinaryEntropy(DoubleVector vector)
vector - DOCUMENT ME!
public final double getMutualInformation(DoubleVector vectorX,
DoubleVector vectorY,
DoubleMatrix matrix)
vectorX - DOCUMENT ME!vectorY - DOCUMENT ME!matrix - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||