|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.stat.univariate.AbstractUnivariateStatistic
org.apache.commons.math.stat.univariate.AbstractStorelessUnivariateStatistic
org.apache.commons.math.stat.univariate.summary.SumOfLogs
Constructor Summary | |
SumOfLogs()
|
Method Summary | |
void |
clear()
Clears all the internal state of the Statistic |
double |
evaluate(double[] values,
int begin,
int length)
Returns the sum of the natural logs for this collection of values |
double |
getN()
Returns the current state of the statistic after the last increment. |
double |
getResult()
Returns the current state of the statistic after the last increment. |
void |
increment(double d)
Increments the internal state of the Storagless Implementation. |
Methods inherited from class org.apache.commons.math.stat.univariate.AbstractUnivariateStatistic |
evaluate, test |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.math.stat.univariate.UnivariateStatistic |
evaluate |
Constructor Detail |
public SumOfLogs()
Method Detail |
public void increment(double d)
StorelessUnivariateStatistic
increment
in interface StorelessUnivariateStatistic
increment
in class AbstractStorelessUnivariateStatistic
StorelessUnivariateStatistic.increment(double)
public double getResult()
StorelessUnivariateStatistic
getResult
in interface StorelessUnivariateStatistic
getResult
in class AbstractStorelessUnivariateStatistic
StorelessUnivariateStatistic.getResult()
public double getN()
StorelessUnivariateStatistic
getN
in interface StorelessUnivariateStatistic
StorelessUnivariateStatistic.getN()
public void clear()
StorelessUnivariateStatistic
clear
in interface StorelessUnivariateStatistic
clear
in class AbstractStorelessUnivariateStatistic
StorelessUnivariateStatistic.clear()
public double evaluate(double[] values, int begin, int length)
evaluate
in interface UnivariateStatistic
evaluate
in class AbstractStorelessUnivariateStatistic
values
- Is a double[] containing the valuesbegin
- processing at this point in the arraylength
- processing at this point in the array
UnivariateStatistic.evaluate(double[], int, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |