org.apache.commons.math3.optimization.fitting
Class WeightedObservedPoint
- java.lang.Object
-
- org.apache.commons.math3.optimization.fitting.WeightedObservedPoint
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.As of 3.1 (to be removed in 4.0).
@Deprecated 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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description WeightedObservedPoint(double weight, double x, double y)Deprecated.Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description doublegetWeight()Deprecated.Get the weight of the measurement in the fitting process.doublegetX()Deprecated.Get the abscissa of the point.doublegetY()Deprecated.Get the observed value of the function at x.
-
-
-
Constructor Detail
-
WeightedObservedPoint
public WeightedObservedPoint(double weight, double x, double y)Deprecated.Simple constructor.- Parameters:
weight- weight of the measurement in the fitting processx- abscissa of the measurementy- ordinate of the measurement
-
-
Method Detail
-
getWeight
public double getWeight()
Deprecated.Get the weight of the measurement in the fitting process.- Returns:
- weight of the measurement in the fitting process
-
getX
public double getX()
Deprecated.Get the abscissa of the point.- Returns:
- abscissa of the point
-
getY
public double getY()
Deprecated.Get the observed value of the function at x.- Returns:
- observed value of the function at x
-
-
DMelt 3.0 © DataMelt by jWork.ORG