comfort-blas-0.0.3: Numerical Basic Linear Algebra using BLAS
Safe HaskellSafe-Inferred
LanguageHaskell98

Numeric.BLAS.Scalar

Documentation

type family RealOf x Source #

Instances

Instances details
type RealOf Double Source # 
Instance details

Defined in Numeric.BLAS.Scalar

type RealOf Float Source # 
Instance details

Defined in Numeric.BLAS.Scalar

type RealOf (Complex a) Source # 
Instance details

Defined in Numeric.BLAS.Scalar

type RealOf (Complex a) = a

zero :: Floating a => a Source #

one :: Floating a => a Source #

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

data ComplexSingleton a where Source #

Constructors

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

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

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

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