Class FunctionExpander.ChebyshevForest

java.lang.Object
com.github.gbenroscience.math.numericalmethods.FunctionExpander.ChebyshevForest
Enclosing class:
FunctionExpander

public static final class FunctionExpander.ChebyshevForest extends Object
High-precision Piecewise Chebyshev approximation engine. Optimized for ParserNG Turbo engine.
Author:
GBEMIRO
  • Constructor Details

    • ChebyshevForest

      public ChebyshevForest()
  • Method Details

    • build

      public void build(MethodHandle function, double a, double b) throws Throwable
      Throws:
      Throwable
    • build

      public void build(Function function, double a, double b) throws Throwable
      Throws:
      Throwable
    • integrate

      public double integrate()
      The global integral sum using Kahan Summation.
    • derivative

      public double derivative(double x)
    • evaluate

      public double evaluate(double x)