def Matrix_Line(A,i): v=Vector() v.__Alloc__(len(A)) for j in range( len(v) ): v[j]=A[i][j] return v
def Matrix_Column(A,i): v=Vector() v.__Alloc__(len(A[i])) for j in range( len(v) ): v[j]=A[j][i] return v