factory-0.2.1.1: Rational arithmetic in an irrational world.

Safe HaskellSafe-Inferred
LanguageHaskell98

Factory.Math.Implementations.Pi.Borwein.Series

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines a http://en.wikipedia.org/wiki/Srinivasa_Borwein-type series for Pi.

Synopsis

Types

Data-types

data Series squareRootAlgorithm factorialAlgorithm Source

Defines a series corresponding to a specific Borwein-formula.

Constructors

MkSeries 

Fields

terms :: squareRootAlgorithm -> factorialAlgorithm -> DecimalDigits -> (Rational, [Rational])
 
convergenceRate :: ConvergenceRate

The expected number of digits of Pi, per term in the series.