Class LogSmallPi

java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.specialfunction.derived.LogSmallPi

public class LogSmallPi
extends R1ToR1
LogSmallPi implements the Log Small Pi Function - the Reciprocal of the Log Big Pi Function. The References are:

  • Blagouchine, I. V. (2014): Re-discovery of Malmsten's Integrals, their Evaluation by Contour Integration Methods, and some Related Results Ramanujan Journal 35 (1) 21-110
  • Borwein, J. M., and R. M. Corless (2017): Gamma Function and the Factorial in the Monthly https://arxiv.org/abs/1703.05349 arXiv
  • Davis, P. J. (1959): Leonhard Euler's Integral: A Historical Profile of the Gamma Function American Mathematical Monthly 66 (10) 849-869
  • Whitaker, E. T., and G. N. Watson (1996): A Course on Modern Analysis Cambridge University Press New York
  • Wikipedia (2019): Gamma Function https://en.wikipedia.org/wiki/Gamma_function
It provides the following functionality:
  • Generate the Weierstrass Infinite Sum Series Version of Log Small Pi Estimator
  • LogSmallPi Constructor
  • Retrieve the LogBigPi Estimator

Module Product Core Module
Library Fixed Income Analytics
Project Special Function Implementation and Analysis
Package Special Functions Derived using Others
Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • LogSmallPi

      public LogSmallPi​(R1ToR1 logBigPiEstimator) throws java.lang.Exception
      LogSmallPi Constructor
      Parameters:
      logBigPiEstimator - The Log Big Pi Estimator
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Weierstrass

      public static final LogSmallPi Weierstrass​(int termCount)
      Generate the Weierstrass Infinite Sum Series Version of Log Small Pi Estimator
      Parameters:
      termCount - Number of Terms in the Estimation
      Returns:
      The Weierstrass Infinite Sum Series Version of Log Small Pi Estimator
    • logBigPiEstimator

      public R1ToR1 logBigPiEstimator()
      Retrieve the Log Big Pi Estimator
      Returns:
      The Log Big Pi Estimator
    • evaluate

      public double evaluate​(double z) throws java.lang.Exception
      Description copied from class: R1ToR1
      Evaluate for the given variate
      Specified by:
      evaluate in class R1ToR1
      Parameters:
      z - Variate
      Returns:
      Returns the calculated value
      Throws:
      java.lang.Exception - Thrown if evaluation cannot be done