java.math.BigDecimal compute(java.math.BigDecimal sample, java.math.MathContext mc)
Note 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
sample- the samples over which the statistic must be computed.
mc- the mathematical context to be used when dividing big decimals.