|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.optimization.fitting.WeightedObservedPoint
public class WeightedObservedPoint
This class is a simple container for weighted observed point in
curve fitting
.
Instances of this class are guaranteed to be immutable.
Field Summary | |
---|---|
private static long |
serialVersionUID
Serializable version id. |
private double |
weight
Weight of the measurement in the fitting process. |
private double |
x
Abscissa of the point. |
private double |
y
Observed value of the function at x. |
Constructor Summary | |
---|---|
WeightedObservedPoint(double weight,
double x,
double y)
Simple constructor. |
Method Summary | |
---|---|
double |
getWeight()
Get the weight of the measurement in the fitting process. |
double |
getX()
Get the abscissa of the point. |
double |
getY()
Get the observed value of the function at x. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final double weight
private final double x
private final double y
Constructor Detail |
---|
public WeightedObservedPoint(double weight, double x, double y)
weight
- weight of the measurement in the fitting processx
- abscissa of the measurementy
- ordinate of the measurementMethod Detail |
---|
public double getWeight()
public double getX()
public double getY()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |