public abstract static class Jackknife.AbstractStatistic extends Object implements Jackknife.Statistic
Jackknife.Statistic.compute(BigDecimal[], MathContext). Useful if you do not
want to fiddle with BigDecimal.| Constructor and Description |
|---|
Jackknife.AbstractStatistic() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal[] |
compute(BigDecimal[] bigSample,
MathContext unused)
Computes the statistic.
|
abstract double[] |
compute(double[] sample) |
public abstract double[] compute(double[] sample)
public BigDecimal[] compute(BigDecimal[] bigSample, MathContext unused)
Jackknife.StatisticNote that the BigDecimal instances passed to this method are guaranteed to
have a scale set by the caller. If you have to perform divisions,
please use the supplied MathContext.
compute in interface Jackknife.StatisticbigSample - the samples over which the statistic must be computed.unused - the mathematical context to be used when dividing big decimals.