Class LinearApproximation


  • public class LinearApproximation
    extends Object
    A simple utility for calculating linear approximations based on values for equally distributed points between minimum and maximum arguments.
    • Constructor Detail

      • LinearApproximation

        public LinearApproximation​(double[] points,
                                   double argMin,
                                   double argMax)
    • Method Detail

      • getValue

        public double getValue​(double argument)
        Returns approximated value for the provided argument.