Class DerivativeEstimator

java.lang.Object
com.irurueta.numerical.DerivativeEstimator
Direct Known Subclasses:
SavitzkyGolayDerivativeEstimator, SymmetricDerivativeEstimator

public class DerivativeEstimator extends Object
Class to estimate the derivative of a single dimension function at a given point. The algorithm used in this implementation is valid for continuous functions only, otherwise inaccurate results might be obtained. This implementation is faster although less accurate than SymmetricDerivativeEstimator.
  • Field Details

  • Constructor Details

  • Method Details

    • derivative

      public double derivative(double x) throws EvaluationException
      Computes the function derivative at provided point x.
      Parameters:
      x - Point where derivative is estimated
      Returns:
      Derivative of function at provided point
      Throws:
      EvaluationException - Raised if function cannot be properly evaluated