iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Math.Linear.GF2

Synopsis

Documentation

newtype GF2x64 Source #

\(GF(2)^{64}\)

bitwise xor

+01
001
110

bitwise and

*01
000
101

Constructors

GF2x64 

Fields

Instances

Instances details
Bits GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

FiniteBits GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Num GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Show GF2x64 Source #
>>> show (GF2x64 10)
"0b1010"
>>> show (GF2x64 0)
"0b0"
Instance details

Defined in Math.Linear.GF2

Eq GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Methods

(==) :: GF2x64 -> GF2x64 -> Bool #

(/=) :: GF2x64 -> GF2x64 -> Bool #

Ord GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Unbox GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Vector Vector GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Methods

basicUnsafeFreeze :: Mutable Vector s GF2x64 -> ST s (Vector GF2x64)

basicUnsafeThaw :: Vector GF2x64 -> ST s (Mutable Vector s GF2x64)

basicLength :: Vector GF2x64 -> Int

basicUnsafeSlice :: Int -> Int -> Vector GF2x64 -> Vector GF2x64

basicUnsafeIndexM :: Vector GF2x64 -> Int -> Box GF2x64

basicUnsafeCopy :: Mutable Vector s GF2x64 -> Vector GF2x64 -> ST s ()

elemseq :: Vector GF2x64 -> GF2x64 -> b -> b

MVector MVector GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

Methods

basicLength :: MVector s GF2x64 -> Int

basicUnsafeSlice :: Int -> Int -> MVector s GF2x64 -> MVector s GF2x64

basicOverlaps :: MVector s GF2x64 -> MVector s GF2x64 -> Bool

basicUnsafeNew :: Int -> ST s (MVector s GF2x64)

basicInitialize :: MVector s GF2x64 -> ST s ()

basicUnsafeReplicate :: Int -> GF2x64 -> ST s (MVector s GF2x64)

basicUnsafeRead :: MVector s GF2x64 -> Int -> ST s GF2x64

basicUnsafeWrite :: MVector s GF2x64 -> Int -> GF2x64 -> ST s ()

basicClear :: MVector s GF2x64 -> ST s ()

basicSet :: MVector s GF2x64 -> GF2x64 -> ST s ()

basicUnsafeCopy :: MVector s GF2x64 -> MVector s GF2x64 -> ST s ()

basicUnsafeMove :: MVector s GF2x64 -> MVector s GF2x64 -> ST s ()

basicUnsafeGrow :: MVector s GF2x64 -> Int -> ST s (MVector s GF2x64)

newtype Vector GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

newtype Vector GF2x64 = V_GF2x64 (Vector Word)
newtype MVector s GF2x64 Source # 
Instance details

Defined in Math.Linear.GF2

newtype MVector s GF2x64 = MV_GF2x64 (MVector s Word)

newtype GF2x64' Source #

subspace of \(GF(2)^{64}\)

Constructors

GF2x64' 

Fields

Instances

Instances details
IsList GF2x64' Source # 
Instance details

Defined in Math.Linear.GF2

Associated Types

type Item GF2x64' #

Show GF2x64' Source # 
Instance details

Defined in Math.Linear.GF2

Eq GF2x64' Source # 
Instance details

Defined in Math.Linear.GF2

Methods

(==) :: GF2x64' -> GF2x64' -> Bool #

(/=) :: GF2x64' -> GF2x64' -> Bool #

type Item GF2x64' Source # 
Instance details

Defined in Math.Linear.GF2

spanGF2x64' :: Vector GF2x64 -> GF2x64' Source #

O(dN)