Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines a http://en.wikipedia.org/wiki/Srinivasa_Ramanujan-type series for Pi.
- 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 | |
|