factory-0.2.1.1: Rational arithmetic in an irrational world.

Safe HaskellNone
LanguageHaskell98

Factory.Math.Implementations.Pi.AGM.Algorithm

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the set of Arithmetic-geometric Mean-type Pi-algorithms which have been implemented; currently just one.

Synopsis

Types

Data-types

data Algorithm squareRootAlgorithm Source

Defines the available algorithms.

Constructors

BrentSalamin squareRootAlgorithm 

Instances

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