Class ASeriesGenerator


public class ASeriesGenerator
extends R1ToR1Series
ASeriesGenerator generates the Terms of the Lanczos A Series. The References are:

  • Godfrey, P. (2001): Lanczos Implementation of the Gamma Function http://www.numericana.com/answer/info/godfrey.htm
  • Press, W. H., S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery (2007): Numerical Recipes: The Art of Scientific Computing 3rd Edition Cambridge University Press New York
  • Pugh, G. R. (2004): An Analysis of the Lanczos Gamma Approximation Ph. D. University of British Columbia
  • Toth V. T. (2016): Programmable Calculators – The Gamma Function http://www.rskey.org/CMS/index.php/the-library/11
  • Wikipedia (2019): Lanczos Approximation https://en.wikipedia.org/wiki/Lanczos_approximation
It provides the following functionality:
  • Construct the Standard ASeriesGenerator Instance
  • ASeriesGenerator Constructor
  • Retrieve the P Series Generator

Module Computational Core Module
Library Function Analysis Library
Project Special Function Implementation and Analysis
Package Lanczos Scheme for Gamma Estimate
Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • ASeriesGenerator

      public ASeriesGenerator​(ASeriesTerm aSeriesTerm, PSeriesGenerator pSeriesGenerator) throws java.lang.Exception
      ASeriesGenerator Constructor
      Parameters:
      aSeriesTerm - A Series Term
      pSeriesGenerator - P Series Generator
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Standard

      public static final ASeriesGenerator Standard​(int g, int termCount)
      Construct the Standard ASeriesGenerator Instance
      Parameters:
      g - Lanczos g Control
      termCount - Term Count
      Returns:
      Standard ASeriesGenerator Instance
    • pSeriesGenerator

      public PSeriesGenerator pSeriesGenerator()
      Retrieve the P Series Generator
      Returns:
      The P Series Generator