Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Changing MatrixSpace Basis?

V = (MatrixSpace(SR, 2, 2))
W = V.subspace_with_basis(
    [
        matrix([[1,1],[1,1]]),
        matrix([[1,0],[pi,1]]),
        matrix([[0,7],[8,9]]),
        matrix([[1,0],[0,-1]])
    ]
)
var('a', 'b','c', 'd')
W.coordinate_vector(matrix([[a+b,a+b],[c+d,c+d]]))

This doesn't work