foundation-0.0.30: Alternative prelude with batteries and no dependencies
Safe HaskellNone
LanguageHaskell2010

Foundation.Math.Trigonometry

Synopsis

Documentation

class Trigonometry a where #

Method to support basic trigonometric functions

Methods

pi :: a #

the famous pi value

sin :: a -> a #

sine

cos :: a -> a #

cosine

tan :: a -> a #

tan

asin :: a -> a #

sine-1

acos :: a -> a #

cosine-1

atan :: a -> a #

tangent-1

sinh :: a -> a #

hyperbolic sine

cosh :: a -> a #

hyperbolic cosine

tanh :: a -> a #

hyperbolic tangent

asinh :: a -> a #

hyperbolic sine-1

acosh :: a -> a #

hyperbolic cosine-1

atanh :: a -> a #

hyperbolic tangent-1

Instances

Instances details
Trigonometry Double # 
Instance details

Defined in Foundation.Math.Trigonometry

Trigonometry Float # 
Instance details

Defined in Foundation.Math.Trigonometry