A Write a function which will take as input a list of m inte

A. Write a function which will take as input a list of m integer vectors v1, . . . , vm , all say of length b.

This function should

a) create an m×(b+m) matrix with ith row equal to vi | ei , where ei denotes the ith standard row vector and

| ei means that we have appended ei and,

b) if we think of the matrix as being A, reduce its entries modulo 2, and put A%2 into row-echelon form, with entries now in Field2.

B. Apply your function to the list of exponent vectors which appear on p. 113 of Bressoud’s book.

Solution

A. Here is a pseudocode (I\'m not very good with programming languages):

----------------------------------------------------------------------

v(1)=(...)

...

v(m)=(...)

b=length(v1)

A = zeros(m,m+b)

for i=1:m

for j=1:m

A(i,j)=v(i)(j)

end

for j=m+1:m+b

A(i,j)=Kroenecker(i,j-m)

end

end

-------------------------------------------------------

B. I do not have access to Bressoud\'s book, so cannot answer this.

A. Write a function which will take as input a list of m integer vectors v1, . . . , vm , all say of length b. This function should a) create an m×(b+m) matrix

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site