foundation-0.0.15: Alternative prelude with batteries and no dependencies

Foundation.Math.Trigonometry

Synopsis

# Documentation

class Trigonometry a where #

Method to support basic trigonometric functions

Minimal complete definition

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

 # Methodssin :: Double -> Double #cos :: Double -> Double #tan :: Double -> Double # # Methodspi :: Float #sin :: Float -> Float #cos :: Float -> Float #tan :: Float -> Float #asin :: Float -> Float #acos :: Float -> Float #atan :: Float -> Float #sinh :: Float -> Float #cosh :: Float -> Float #tanh :: Float -> Float #asinh :: Float -> Float #acosh :: Float -> Float #atanh :: Float -> Float #