Class TrapezoidalQuadratureMatrixIntegrator


public class TrapezoidalQuadratureMatrixIntegrator extends QuadratureMatrixIntegrator<TrapezoidalMatrixQuadrature>
Computes single dimension matrix (multivariate) function integration by using Trapezoidal quadrature up to desired accuracy. This integrator should be used for general functions whose "smoothness" is unknown, but have no singularities that make an improper integral (integrands with singularities, or infinite upper or lower bounds of integration).
  • Constructor Details

    • TrapezoidalQuadratureMatrixIntegrator

      public TrapezoidalQuadratureMatrixIntegrator(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.
    • TrapezoidalQuadratureMatrixIntegrator

      public TrapezoidalQuadratureMatrixIntegrator(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