linear codes Flashcards

1
Q

linear code:

A

a subspace of the vector space F^(n)q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

codevector:

A

codewords of a linear code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is the trivial code a linear code:

A

yes, F^(n)q is a vector subspace of itself

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

are rep codes a linear code:

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

weight of a vector:

A

the weight of a vector v is the number of nonzero symbols in v - w(v)=d(v,0)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

weight of a code:

A

the weight of a code C is w(C)=min{w(v)|v in C{0}}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

distance and weight:

A

d(v,y)=w(v-y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

does minimum distance equal weight:

A

yep for linear codes, d(C)=w(C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

the zero sum code:

A

Z={(v1,v2,…vn) in F^(n)q|v1+v2+…+vn=0 in Fq} basically when you add everything together you get 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

binary even weight code:

A

the binary even weight code of length n is En={v in F^(n)2: w(v) is even}, note that this is an alternative way of writing a zero sum code (cause 1+1=0 in a binary alphabet) so is linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

properties of En:

A

d(En)=w(En)=2
we have 2^(n-1) codewords
En is a [n,n-1,2]2 code
cannot correct errors, only detects up to one error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

the linear code generated by a matrix:

A

let G be a kxn matrix with linearly independent rows r1,…,rk in F^(n)q. the code C={u1r1+…+ukrk|u1,…,uk in Fq} in F^(n)q is said to be generated by the matrix G. the function ENCODE:F^(k)q->C, ENCODE(u)=uG for all u in F^(k)q is the encoder for C given by the matrix G

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

properties of a code generated by a matrix:

A

C is a linear code
the function ENCODE is a bijective linear map between F^(k)q and C
the information dimension of C is k and equal to the vector space dimension, dimC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

linear codes and codes generated by matrices:

A

all linear codes can be generated by a matrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

generator matrix:

A

G=[r1
r2

rk], where the row vectors r1,…,rk are a basis of C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

matrices that generate a trivial code:

A

the identity matrix In, also any other nxn matrix with linearly independent rows

17
Q

matrices that generate repetition codes:

A

G=[1 1 … 1] of size 1xn, also the matrices λG where λ!=0

18
Q

matrices that generate E3:

A

E3 has 4 codewords, so 2^2, so dimension 2, so the generator matrix has 2 rows and 3 columns
take 2 linearly independent codevectors but not the zero one, and slap one on top of the other, bada bing bada boom

19
Q

storing the generator matrix vs the whole code:

A

the matrix takes less space, Much less
however
it’s not unique

20
Q

standard form of a matrix:

A

the left side is an nxn matrix that is the identity matrix, the remaining n-k columns have arbitrary members of Fq, denoted G[Ik|A]
if G is in standard form then, after encoding, the first k symbols are the original message (called information symbols), making it easy to decode, the last n-k are called check symbols, the standard form matrix is unique

21
Q

how to make a matrix the standard form:

A

you can use permutations of rows, multiplications of rows by a nonzero scalar, and adding a scalar multiple of one row to another, literally just jangle it around

22
Q

Alphabet field for linear codes properties:

A

Fq is an alphabet for a linear code
q=p^m, where p is a prime