Package org.drip.numerical.estimation
Class R1ToR1SeriesTerm
java.lang.Object
org.drip.numerical.estimation.R1ToR1SeriesTerm
- Direct Known Subclasses:
ASeriesTerm
,GeneralizedMacLaurinSeriesTerm
,MacLaurinSeriesTerm
,PochhammerSeriesTerm
,RelaxationTimeDistributionSeriesTerm
public abstract class R1ToR1SeriesTerm
extends java.lang.Object
R1ToR1SeriesTerm exposes the R1 To R1 Series Expansion Term in the Ordered
Series of the Numerical Estimate for a Function. The References are:
- Mortici, C. (2011): Improved Asymptotic Formulas for the Gamma Function Computers and Mathematics with Applications 61 (11) 3364-3369
- National Institute of Standards and Technology (2018): NIST Digital Library of Mathematical Functions https://dlmf.nist.gov/5.11
- Nemes, G. (2010): On the Coefficients of the Asymptotic Expansion of n! https://arxiv.org/abs/1003.2907 arXiv
- Toth V. T. (2016): Programmable Calculators – The Gamma Function http://www.rskey.org/CMS/index.php/the-library/11
- Wikipedia (2019): Stirling's Approximation https://en.wikipedia.org/wiki/Stirling%27s_approximation
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description static R1ToR1SeriesTerm
Asymptotic()
Construct the Asymptotic Series Expansion Termdouble
derivative(int order, int derivativeOrder, double x)
Compute the Derivative of the R1 To R1 Series Expansion Termstatic R1ToR1SeriesTerm
InvertedRisingExponential()
Construct the Inverted Rising Exponential Series Expansion Termstatic R1ToR1SeriesTerm
Taylor()
Construct the Taylor Series Expansion Termabstract double
value(int order, double x)
Compute the Value of the R1 To R1 Series Expansion TermMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
Asymptotic
Construct the Asymptotic Series Expansion Term- Returns:
- The Asymptotic Series Expansion Term
-
InvertedRisingExponential
Construct the Inverted Rising Exponential Series Expansion Term- Returns:
- The Inverted Rising Exponential Series Expansion Term
-
Taylor
Construct the Taylor Series Expansion Term- Returns:
- The Taylor Series Expansion Term
-
value
public abstract double value(int order, double x) throws java.lang.ExceptionCompute the Value of the R1 To R1 Series Expansion Term- Parameters:
order
- Order of the R1 To R1 Series Expansion Termx
- X- Returns:
- The Value of the R1 To R1 Series Expansion Term
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
derivative
public double derivative(int order, int derivativeOrder, double x) throws java.lang.ExceptionCompute the Derivative of the R1 To R1 Series Expansion Term- Parameters:
order
- Order of the R1 To R1 Series Expansion TermderivativeOrder
- Order of the R1 To R1 Series Derivativex
- X- Returns:
- The Derivative of the R1 To R1 Series Expansion Term
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-