public class WeightedObservedPoint
extends java.lang.Object
implements java.io.Serializable
curve fitting
.
Instances of this class are guaranteed to be immutable.
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
WeightedObservedPoint(double weight,
double x,
double y)
Simple constructor.
|
private static final long serialVersionUID
private final double weight
private final double x
private final double y
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 (c) 2003-2014 Apache Software Foundation