Class PadeApproximantEstimatorTest

java.lang.Object
com.irurueta.numerical.PadeApproximantEstimatorTest

class PadeApproximantEstimatorTest extends Object
  • Field Details

    • TAYLOR_COEFFICIENTS

      private static final double[] TAYLOR_COEFFICIENTS
    • MIN_VALUE

      private static final double MIN_VALUE
      See Also:
    • MAX_VALUE

      private static final double MAX_VALUE
      See Also:
    • MIN_EXP_VALUE

      private static final double MIN_EXP_VALUE
      See Also:
    • MAX_EXP_VALUE

      private static final double MAX_EXP_VALUE
      See Also:
    • EXPONENTIAL_TAYLOR_ORDER

      private static final int EXPONENTIAL_TAYLOR_ORDER
      See Also:
  • Constructor Details

    • PadeApproximantEstimatorTest

      PadeApproximantEstimatorTest()
  • Method Details

    • constructor_whenInvalidNumberOfTimes_throwsIllegalArgumentException

      @Test void constructor_whenInvalidNumberOfTimes_throwsIllegalArgumentException()
    • estimatePadeCoefficients_whenInvalidTaylorSeries_throwsIllegalArgumentException

      @Test void estimatePadeCoefficients_whenInvalidTaylorSeries_throwsIllegalArgumentException()
    • estimatePadeCoefficients_whenInvalidNumeratorCoefficients_throwsException

      @Test void estimatePadeCoefficients_whenInvalidNumeratorCoefficients_throwsException()
    • estimatePadeCoefficients_whenInvalidDenominatorCoefficients_throwsException

      @Test void estimatePadeCoefficients_whenInvalidDenominatorCoefficients_throwsException()
    • estimatePadeCoefficients_whenTestFunction_returnsExpectedValue

      @Test void estimatePadeCoefficients_whenTestFunction_returnsExpectedValue() throws com.irurueta.numerical.NumericalException
      Throws:
      com.irurueta.numerical.NumericalException
    • estimatePadeCoefficients_whenExponentialFunction_returnsExpectedValue

      @Test void estimatePadeCoefficients_whenExponentialFunction_returnsExpectedValue() throws com.irurueta.numerical.NumericalException
      Throws:
      com.irurueta.numerical.NumericalException
    • exponentialTaylorCoefficients

      private static double[] exponentialTaylorCoefficients()
    • testFunction

      private static double testFunction(double x)
    • testTaylorApproximation

      private static double testTaylorApproximation(double x, double[] taylorCoefficients)
    • padeApproximation

      private static double padeApproximation(double x, double[] numeratorCoefficients, double[] denominatorCoefficients)