Class SimpsonMidPointQuadratureMatrixIntegrator


public class SimpsonMidPointQuadratureMatrixIntegrator extends SimpsonMatrixIntegrator<MidPointMatrixQuadrature>
Computes function integration by using Simpson's rule and mid-point quadrature. Simpson's method is an optimization of Trapezoidal quadrature integrator. This type of integrator will in general be more efficient than Trapezoidal quadrature integrators (i.e., require fewer function evaluations) when the function to be integrated has a finite fourth derivative (i.e., a continuous third derivative).
  • Constructor Details

    • SimpsonMidPointQuadratureMatrixIntegrator

      public SimpsonMidPointQuadratureMatrixIntegrator(double a, double b, MatrixSingleDimensionFunctionEvaluatorListener listener, double eps) throws com.irurueta.algebra.WrongSizeException
      Constructor.
      Parameters:
      a - Lower limit of integration.
      b - Upper limit of integration.
      listener - listener to evaluate a single dimension matrix (multivariate) function at required points.
      eps - required accuracy.
      Throws:
      com.irurueta.algebra.WrongSizeException - if size notified by provided listener is invalid.
    • SimpsonMidPointQuadratureMatrixIntegrator

      public SimpsonMidPointQuadratureMatrixIntegrator(double a, double b, MatrixSingleDimensionFunctionEvaluatorListener listener) throws com.irurueta.algebra.WrongSizeException
      Constructor with default accuracy.
      Parameters:
      a - Lower limit of integration.
      b - Upper limit of integration.
      listener - listener to evaluate a single dimension function at required points.
      Throws:
      com.irurueta.algebra.WrongSizeException - if size notified by provided listener is invalid.
  • Method Details