linear-accelerate-0.7.0.0: Lifting linear vector spaces into Accelerate

Copyright[2018..2020] Trevor L. McDonell
LicenseBSD-style (see the file LICENSE)
MaintainerTrevor L. McDonell <trevor.mcdonell@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Array.Accelerate.Linear.Conjugate

Contents

Description

Involutive rings

Synopsis

Documentation

class Num a => Conjugate a where #

An involutive ring

Minimal complete definition

Nothing

Methods

conjugate :: a -> a #

Conjugate a value. This defaults to the trivial involution.

>>> conjugate (1 :+ 2)
1.0 :+ (-2.0)
>>> conjugate 1
1
Instances
Conjugate Double 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Double -> Double #

Conjugate Float 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Float -> Float #

Conjugate Int 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Int -> Int #

Conjugate Int8 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Int8 -> Int8 #

Conjugate Int16 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Int16 -> Int16 #

Conjugate Int32 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Int32 -> Int32 #

Conjugate Int64 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Int64 -> Int64 #

Conjugate Integer 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Integer -> Integer #

Conjugate Word 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Word -> Word #

Conjugate Word8 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Word8 -> Word8 #

Conjugate Word16 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Word16 -> Word16 #

Conjugate Word32 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Word32 -> Word32 #

Conjugate Word64 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Word64 -> Word64 #

Conjugate CDouble 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: CDouble -> CDouble #

Conjugate CFloat 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: CFloat -> CFloat #

Conjugate (Exp Double) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Conjugate (Exp Float) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Float -> Exp Float #

Conjugate (Exp Int) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Int -> Exp Int #

Conjugate (Exp Int8) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Int8 -> Exp Int8 #

Conjugate (Exp Int16) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Int16 -> Exp Int16 #

Conjugate (Exp Int32) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Int32 -> Exp Int32 #

Conjugate (Exp Int64) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Int64 -> Exp Int64 #

Conjugate (Exp Word) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Word -> Exp Word #

Conjugate (Exp Word8) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Word8 -> Exp Word8 #

Conjugate (Exp Word16) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Conjugate (Exp Word32) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Conjugate (Exp Word64) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Conjugate (Exp Half) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp Half -> Exp Half #

Conjugate (Exp CDouble) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Conjugate (Exp CFloat) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

(Conjugate (Exp a), RealFloat a, Elt (Complex a)) => Conjugate (Exp (Complex a)) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Methods

conjugate :: Exp (Complex a) -> Exp (Complex a) #

(RealFloat a, Conjugate (Exp a)) => Conjugate (Exp (Quaternion a)) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Quaternion

Methods

conjugate :: Exp (Quaternion a) -> Exp (Quaternion a) #

(Conjugate a, RealFloat a) => Conjugate (Complex a) 
Instance details

Defined in Linear.Conjugate

Methods

conjugate :: Complex a -> Complex a #

(Conjugate a, RealFloat a) => Conjugate (Quaternion a) 
Instance details

Defined in Linear.Quaternion

Methods

conjugate :: Quaternion a -> Quaternion a #

class Conjugate a => TrivialConjugate a #

Requires and provides a default definition such that

conjugate = id
Instances
TrivialConjugate Double 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Float 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Int 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Int8 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Int16 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Int32 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Int64 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Integer 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Word 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Word8 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Word16 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Word32 
Instance details

Defined in Linear.Conjugate

TrivialConjugate Word64 
Instance details

Defined in Linear.Conjugate

TrivialConjugate CDouble 
Instance details

Defined in Linear.Conjugate

TrivialConjugate CFloat 
Instance details

Defined in Linear.Conjugate

TrivialConjugate (Exp Double) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Float) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Int) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Int8) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Int16) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Int32) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Int64) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Word) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Word8) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Word16) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Word32) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Word64) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp Half) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp CDouble) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

TrivialConjugate (Exp CFloat) Source # 
Instance details

Defined in Data.Array.Accelerate.Linear.Conjugate

Orphan instances

Conjugate (Exp Double) Source # 
Instance details

Conjugate (Exp Float) Source # 
Instance details

Methods

conjugate :: Exp Float -> Exp Float #

Conjugate (Exp Int) Source # 
Instance details

Methods

conjugate :: Exp Int -> Exp Int #

Conjugate (Exp Int8) Source # 
Instance details

Methods

conjugate :: Exp Int8 -> Exp Int8 #

Conjugate (Exp Int16) Source # 
Instance details

Methods

conjugate :: Exp Int16 -> Exp Int16 #

Conjugate (Exp Int32) Source # 
Instance details

Methods

conjugate :: Exp Int32 -> Exp Int32 #

Conjugate (Exp Int64) Source # 
Instance details

Methods

conjugate :: Exp Int64 -> Exp Int64 #

Conjugate (Exp Word) Source # 
Instance details

Methods

conjugate :: Exp Word -> Exp Word #

Conjugate (Exp Word8) Source # 
Instance details

Methods

conjugate :: Exp Word8 -> Exp Word8 #

Conjugate (Exp Word16) Source # 
Instance details

Conjugate (Exp Word32) Source # 
Instance details

Conjugate (Exp Word64) Source # 
Instance details

Conjugate (Exp Half) Source # 
Instance details

Methods

conjugate :: Exp Half -> Exp Half #

Conjugate (Exp CDouble) Source # 
Instance details

Conjugate (Exp CFloat) Source # 
Instance details

(Conjugate (Exp a), RealFloat a, Elt (Complex a)) => Conjugate (Exp (Complex a)) Source # 
Instance details

Methods

conjugate :: Exp (Complex a) -> Exp (Complex a) #

TrivialConjugate (Exp Double) Source # 
Instance details

TrivialConjugate (Exp Float) Source # 
Instance details

TrivialConjugate (Exp Int) Source # 
Instance details

TrivialConjugate (Exp Int8) Source # 
Instance details

TrivialConjugate (Exp Int16) Source # 
Instance details

TrivialConjugate (Exp Int32) Source # 
Instance details

TrivialConjugate (Exp Int64) Source # 
Instance details

TrivialConjugate (Exp Word) Source # 
Instance details

TrivialConjugate (Exp Word8) Source # 
Instance details

TrivialConjugate (Exp Word16) Source # 
Instance details

TrivialConjugate (Exp Word32) Source # 
Instance details

TrivialConjugate (Exp Word64) Source # 
Instance details

TrivialConjugate (Exp Half) Source # 
Instance details

TrivialConjugate (Exp CDouble) Source # 
Instance details

TrivialConjugate (Exp CFloat) Source # 
Instance details