Class IntegralIntervalPolynomialEvaluation

java.lang.Object
com.irurueta.numerical.polynomials.estimators.PolynomialEvaluation
com.irurueta.numerical.polynomials.estimators.IntegralIntervalPolynomialEvaluation
All Implemented Interfaces:
Serializable

public class IntegralIntervalPolynomialEvaluation extends PolynomialEvaluation
Contains an evaluation of an interval of the nth-integral of a polynomial.
See Also:
  • Field Details

    • MIN_INTEGRAL_ORDER

      public static final int MIN_INTEGRAL_ORDER
      Minimum allowed integral order.
      See Also:
    • startX

      private double startX
      Start point of interval being integrated.
    • endX

      private double endX
      End point of interval being integrated.
    • integralOrder

      private int integralOrder
      Order of integral.
    • constants

      private double[] constants
      Constant terms of integral.
  • Constructor Details

    • IntegralIntervalPolynomialEvaluation

      public IntegralIntervalPolynomialEvaluation()
      Constructor.
    • IntegralIntervalPolynomialEvaluation

      public IntegralIntervalPolynomialEvaluation(double startX, double endX, double evaluation, int integralOrder)
      Constructor.
      Parameters:
      startX - start point of interval being integrated.
      endX - end point of interval being integrated.
      evaluation - evaluation of nth-integral of polynomial between startX and endX.
      integralOrder - order of integral.
      Throws:
      IllegalArgumentException - if order of integral is less than 1.
    • IntegralIntervalPolynomialEvaluation

      public IntegralIntervalPolynomialEvaluation(double startX, double endX, double evaluation)
      Constructor.
      Parameters:
      startX - start point of interval being integrated.
      endX - end point of interval being integrated.
      evaluation - evaluation of nth-integral of polynomial between startX and endX.
  • Method Details

    • getStartX

      public double getStartX()
      Gets start point of interval being integrated.
      Returns:
      start point of interval being integrated.
    • setStartX

      public void setStartX(double startX)
      Sets start point of interval being integrated.
      Parameters:
      startX - start point of interval being integrated.
    • getEndX

      public double getEndX()
      Gets end point of interval being integrated.
      Returns:
      end point of interval being integrated.
    • setEndX

      public void setEndX(double endX)
      Sets end point of interval being integrated.
      Parameters:
      endX - end point of interval being integrated.
    • getIntegralOrder

      public int getIntegralOrder()
      Gets integral order.
      Returns:
      integral order.
    • setIntegralOrder

      public final void setIntegralOrder(int integralOrder)
      Sets integral order.
      Parameters:
      integralOrder - integral order.
      Throws:
      IllegalArgumentException - if integral order is less than 1.
    • getConstants

      public double[] getConstants()
      Gets constant terms of integral.
      Returns:
      constant terms of integral.
    • setConstants

      public void setConstants(double[] constants)
      Sets constant terms of integral.
      Parameters:
      constants - constant terms of integral.
    • getType

      public PolynomialEvaluationType getType()
      Gets type of polynomial evaluation.
      Specified by:
      getType in class PolynomialEvaluation
      Returns:
      type of polynomial evaluation.