public class Max extends Object implements Statistic
max
.Constructor and Description |
---|
Max()
Construct an empty
Max calculator. |
Max(double[] data)
Construct a
Max calculator,
initialized with a sample. |
Max(Max that)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addData(double... data)
Recompute the statistic with more data, incrementally if possible.
|
long |
N()
Get the size of the sample.
|
String |
toString() |
double |
value()
Get the value of the statistic.
|
public Max()
Max
calculator.public Max(double[] data)
Max
calculator,
initialized with a sample.data
- a samplepublic Max(Max that)
that
- a Max
calculatorpublic void addData(double... data)
Statistic
public double value()
Statistic
public long N()
Statistic
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.