netlib-ffi-0.1.1: Helper modules for FFI to BLAS and LAPACK

Safe HaskellSafe
LanguageHaskell98

Numeric.Netlib.Class

Documentation

class (Floating a, RealFloat a) => Real a where Source #

Methods

switchReal :: f Float -> f Double -> f a Source #

Instances
Real Double Source # 
Instance details

Defined in Numeric.Netlib.Class

Methods

switchReal :: f Float -> f Double -> f Double Source #

Real Float Source # 
Instance details

Defined in Numeric.Netlib.Class

Methods

switchReal :: f Float -> f Double -> f Float Source #

class (Storable a, Fractional a) => Floating a where Source #

Methods

switchFloating :: f Float -> f Double -> f (Complex Float) -> f (Complex Double) -> f a Source #

Instances
Floating Double Source # 
Instance details

Defined in Numeric.Netlib.Class

Methods

switchFloating :: f Float -> f Double -> f (Complex Float) -> f (Complex Double) -> f Double Source #

Floating Float Source # 
Instance details

Defined in Numeric.Netlib.Class

Methods

switchFloating :: f Float -> f Double -> f (Complex Float) -> f (Complex Double) -> f Float Source #

Real a => Floating (Complex a) Source # 
Instance details

Defined in Numeric.Netlib.Class

Methods

switchFloating :: f Float -> f Double -> f (Complex Float) -> f (Complex Double) -> f (Complex a) Source #