Package org.drip.specialfunction.gamma
Class RamanujanSeries
java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.numerical.estimation.R1ToR1Estimator
org.drip.specialfunction.gamma.RamanujanSeries
public class RamanujanSeries extends R1ToR1Estimator
RamanujanSeries implements the Ramanujan Series Version of the Gamma Function Approximation. 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
- RamanujanSeries Constructor
Module | Computational Core Module |
Library | Function Analysis Library |
Project | Special Function Implementation and Analysis |
Package | Analytic/Series/Integral Gamma Estimators |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description RamanujanSeries(DerivativeControl derivativeControl)
RamanujanSeries Constructor -
Method Summary
Modifier and Type Method Description R1Estimate
boundedEstimate(double x)
Estimate a Bounded Numerical Approximation of the Function Valuedouble
evaluate(double z)
Evaluate for the given variateMethods inherited from class org.drip.numerical.estimation.R1ToR1Estimator
seriesEstimate, seriesEstimateNative
Methods inherited from class org.drip.function.definition.R1ToR1
antiDerivative, conditionNumber, derivative, differential, differential, integrate, maxima, maxima, minima, minima, poleResidue
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RamanujanSeries
RamanujanSeries Constructor- Parameters:
derivativeControl
- The Derivative Control
-
-
Method Details
-
evaluate
public double evaluate(double z) throws java.lang.ExceptionDescription copied from class:R1ToR1
Evaluate for the given variate -
boundedEstimate
Description copied from class:R1ToR1Estimator
Estimate a Bounded Numerical Approximation of the Function Value- Overrides:
boundedEstimate
in classR1ToR1Estimator
- Parameters:
x
- X- Returns:
- The Bounded Numerical Approximation
-