numeric-prelude-0.4.3: An experimental alternative hierarchy of numeric type classes

Safe HaskellNone
LanguageHaskell98

Algebra.RealTranscendental

Synopsis

Documentation

class (C a, C a) => C a where Source #

This class collects all functions for _scalar_ floating point numbers. E.g. computing atan2 for complex floating numbers makes certainly no sense.

Methods

atan2 :: a -> a -> a Source #

Instances

C Double Source # 

Methods

atan2 :: Double -> Double -> Double Source #

C Float Source # 

Methods

atan2 :: Float -> Float -> Float Source #

C T Source # 

Methods

atan2 :: T -> T -> T Source #

RealFloat a => C (T a) Source # 

Methods

atan2 :: T a -> T a -> T a Source #

C a => C (T a) Source # 

Methods

atan2 :: T a -> T a -> T a Source #