Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines a https://en.wikipedia.org/wiki/Srinivasa_Ramanujan-type series for Pi.
Synopsis
- data Series squareRootAlgorithm factorialAlgorithm = MkSeries {
- terms :: factorialAlgorithm -> [Rational]
- getSeriesScalingFactor :: squareRootAlgorithm -> DecimalDigits -> Rational
- convergenceRate :: ConvergenceRate
Types
Data-types
data Series squareRootAlgorithm factorialAlgorithm Source #
Defines a series corresponding to a specific Ramanujan-formula.
MkSeries | |
|