Class Differentiation

java.lang.Object
org.episteme.core.mathematics.analysis.Differentiation

public final class Differentiation extends Object
Provides numerical and symbolic differentiation capabilities. * @author Silvere Martin-Michiellot
Since:
1.0
Author:
Gemini AI (Google DeepMind)
  • Method Details

    • of

      public static RealFunction of(RealFunction f)
      Returns the derivative of the given function.

      If the function implements its own RealFunction.derivative() method, it is used. Otherwise, a numerical differentiation wrapper is returned.

      Parameters:
      f - the function to differentiate
      Returns:
      the derivative function f'
    • derivativeAt

      public static Real derivativeAt(RealFunction f, Real x)
      Computes the numerical derivative of a function at a specific point using Ridders' method of polynomial extrapolation for high accuracy.
      Parameters:
      f - the function
      x - the point at which to evaluate the derivative
      Returns:
      the approximate value of f'(x)