ForSyDe.Shallow.BitVector

Polynomial data type

type BitVector

data Parity

Bit-vector and integer transformations

intToBitVector

bitVectorToInt

Add even/odd parity bit

addEvenParityBit

addOddParityBit

addParityBit

Remove parity bit

removeParityBit

Check the even/odd parity of the bit-vector

isEvenParity

isOddParity

Judge the form sanity of the bit-vector

isBitVector