Class WeightedObservedPoint

    • Constructor Detail

      • WeightedObservedPoint

        public WeightedObservedPoint​(double weight,
                                     double x,
                                     double y)
        Simple constructor.
        Parameters:
        weight - Weight of the measurement in the fitting process.
        x - Abscissa of the measurement.
        y - Ordinate of the measurement.
    • Method Detail

      • getWeight

        public double getWeight()
        Gets the weight of the measurement in the fitting process.
        Returns:
        the weight of the measurement in the fitting process.
      • getX

        public double getX()
        Gets the abscissa of the point.
        Returns:
        the abscissa of the point.
      • getY

        public double getY()
        Gets the observed value of the function at x.
        Returns:
        the observed value of the function at x.