Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A. Write a function which will take as input a list of m integer vectors v1, . .

ID: 3012050 • Letter: A

Question

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.

Explanation / Answer

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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote