Class WeightedObservedPoint
- java.lang.Object
-
- org.apache.commons.math.optimization.fitting.WeightedObservedPoint
-
- All Implemented Interfaces:
java.io.Serializable
public class WeightedObservedPoint extends java.lang.Object implements java.io.SerializableThis class is a simple container for weighted observed point incurve fitting.Instances of this class are guaranteed to be immutable.
- Since:
- 2.0
- Version:
- $Revision: 786479 $ $Date: 2009-06-19 14:36:16 +0200 (ven. 19 juin 2009) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeightedObservedPoint(double weight, double x, double y)Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetWeight()Get the weight of the measurement in the fitting process.doublegetX()Get the abscissa of the point.doublegetY()Get the observed value of the function at x.
-
-
-
Method Detail
-
getWeight
public double getWeight()
Get the weight of the measurement in the fitting process.- Returns:
- weight of the measurement in the fitting process
-
getX
public double getX()
Get the abscissa of the point.- Returns:
- abscissa of the point
-
getY
public double getY()
Get the observed value of the function at x.- Returns:
- observed value of the function at x
-
-