-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Helper modules for FFI to BLAS and LAPACK -- -- Netlib is a collection of packages for efficient numeric linear -- algebra. Most prominent parts of Netlib are BLAS and LAPACK. These -- packages contain functions for matrix computations, solution of -- simultaneous linear equations and eigenvalue problems. -- -- This package provides definitions shared by the packages -- blas-ffi and lapack-ffi. @package netlib-ffi @version 0.0 module Numeric.Netlib.Class class (Storable a) => Real a switchReal :: Real a => f Float -> f Double -> f a class Floating a switchFloating :: Floating a => f Float -> f Double -> f (Complex Float) -> f (Complex Double) -> f a instance Numeric.Netlib.Class.Real GHC.Types.Float instance Numeric.Netlib.Class.Real GHC.Types.Double instance Numeric.Netlib.Class.Floating GHC.Types.Float instance Numeric.Netlib.Class.Floating GHC.Types.Double instance Numeric.Netlib.Class.Real a => Numeric.Netlib.Class.Floating (Data.Complex.Complex a)