Serializablepublic class WeightedObservedPoint extends Object implements Serializable
curve fitting.
 Instances of this class are guaranteed to be immutable.
| Constructor | Description | 
|---|---|
WeightedObservedPoint(double weight,
                     double x,
                     double y) | 
 Simple constructor. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
double | 
getWeight() | 
 Gets the weight of the measurement in the fitting process. 
 | 
double | 
getX() | 
 Gets the abscissa of the point. 
 | 
double | 
getY() | 
 Gets the observed value of the function at x. 
 | 
public WeightedObservedPoint(double weight,
                             double x,
                             double y)
weight - Weight of the measurement in the fitting process.x - Abscissa of the measurement.y - Ordinate of the measurement.public double getWeight()
public double getX()
public double getY()
Copyright © 2016–2018 Hipparchus.org. All rights reserved.