lapack-0.5.2: Numerical Linear Algebra using LAPACK
Safe HaskellSafe-Inferred
LanguageHaskell98

Numeric.LAPACK.Scalar

Documentation

type family RealOf x #

Instances

Instances details
type RealOf Double 
Instance details

Defined in Numeric.BLAS.Scalar

type RealOf Float 
Instance details

Defined in Numeric.BLAS.Scalar

type RealOf (Complex a) 
Instance details

Defined in Numeric.BLAS.Scalar

type RealOf (Complex a) = a

type ComplexOf x = Complex (RealOf x) #

zero :: Floating a => a #

one :: Floating a => a #

minusOne :: Floating a => a #

isZero :: Floating a => a -> Bool #

selectReal :: Real a => Float -> Double -> a #

data ComplexSingleton a where #

Constructors

Real :: forall a. (Real a, RealOf a ~ a) => ComplexSingleton a 
Complex :: forall a1. Real a1 => ComplexSingleton (Complex a1) 

equal :: Floating a => a -> a -> Bool #

fromReal :: Floating a => RealOf a -> a #

toComplex :: Floating a => a -> ComplexOf a #

absolute :: Floating a => a -> RealOf a #

norm1 :: Floating a => a -> RealOf a #

realPart :: Floating a => a -> RealOf a #

conjugate :: Floating a => a -> a #