- java.lang.Object
-
- org.quantlib.IncrementalStatistics
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class IncrementalStatistics extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description IncrementalStatistics()protectedIncrementalStatistics(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(double value)voidadd(double value, double weight)voidadd(DoubleVector values)voidadd(DoubleVector values, DoubleVector weights)voiddelete()doubleerrorEstimate()protected voidfinalize()protected static longgetCPtr(IncrementalStatistics obj)doublekurtosis()doublemax()doublemean()doublemin()voidreset()longsamples()doubleskewness()doublestandardDeviation()protected static longswigRelease(IncrementalStatistics obj)doublevariance()doubleweightSum()
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
IncrementalStatistics
protected IncrementalStatistics(long cPtr, boolean cMemoryOwn)
-
IncrementalStatistics
public IncrementalStatistics()
-
-
Method Detail
-
getCPtr
protected static long getCPtr(IncrementalStatistics obj)
-
swigRelease
protected static long swigRelease(IncrementalStatistics obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
samples
public long samples()
-
weightSum
public double weightSum()
-
mean
public double mean()
-
variance
public double variance()
-
standardDeviation
public double standardDeviation()
-
errorEstimate
public double errorEstimate()
-
skewness
public double skewness()
-
kurtosis
public double kurtosis()
-
min
public double min()
-
max
public double max()
-
reset
public void reset()
-
add
public void add(double value, double weight)
-
add
public void add(double value)
-
add
public void add(DoubleVector values)
-
add
public void add(DoubleVector values, DoubleVector weights)
-
-