public static class TDigest.Group extends Object implements Comparable<TDigest.Group>
| Constructor and Description |
|---|
TDigest.Group(double x) |
TDigest.Group(double x,
int id) |
TDigest.Group(double x,
int id,
boolean record) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double x,
int w) |
int |
compareTo(TDigest.Group o) |
int |
count() |
static TDigest.Group |
createWeighted(double x,
int w,
Iterable<? extends Double> data) |
Iterable<? extends Double> |
data() |
int |
hashCode() |
int |
id() |
double |
mean() |
String |
toString() |
public TDigest.Group(double x)
public TDigest.Group(double x,
int id)
public TDigest.Group(double x,
int id,
boolean record)
public void add(double x,
int w)
public double mean()
public int count()
public int id()
public int compareTo(TDigest.Group o)
compareTo in interface Comparable<TDigest.Group>public static TDigest.Group createWeighted(double x, int w, Iterable<? extends Double> data)
Copyright © 2016 AddThis. All rights reserved.