public class WeightedSum extends Object implements AggregativeFunction
| Constructor and Description |
|---|
WeightedSum() |
| Modifier and Type | Method and Description |
|---|---|
double |
compute(double[] vector,
double[] weightVector) |
void |
update(double[] vector) |
public double compute(double[] vector,
double[] weightVector)
compute in interface AggregativeFunctionpublic void update(double[] vector)
update in interface AggregativeFunctionCopyright © 2019. All rights reserved.