factory-0.2.1.1: Rational arithmetic in an irrational world.

Safe HaskellNone
LanguageHaskell98

Factory.Math.Implementations.Pi.Borwein.Algorithm

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the set of Borwein-type algorithms (currently only one) which have been implemented; http://www.pi314.net/eng/borwein.php.

Synopsis

Types

Data-types

data Algorithm squareRootAlgorithm factorialAlgorithm Source

  • Define those Borwein-series which have been implemented.
  • Though currently there's only one, provision has been made for the addition of more.

Constructors

Borwein1993 squareRootAlgorithm factorialAlgorithm

http://en.wikipedia.org/wiki/Borwein%27s_algorithm.

Instances

(Eq squareRootAlgorithm, Eq factorialAlgorithm) => Eq (Algorithm squareRootAlgorithm factorialAlgorithm) 
(Read squareRootAlgorithm, Read factorialAlgorithm) => Read (Algorithm squareRootAlgorithm factorialAlgorithm) 
(Show squareRootAlgorithm, Show factorialAlgorithm) => Show (Algorithm squareRootAlgorithm factorialAlgorithm) 
(Defaultable squareRootAlgorithm, Defaultable factorialAlgorithm) => Defaultable (Algorithm squareRootAlgorithm factorialAlgorithm) 
(Algorithmic squareRootAlgorithm, Algorithmic factorialAlgorithm) => Algorithmic (Algorithm squareRootAlgorithm factorialAlgorithm)