First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2 years ago

Max Alekseyev gravatar image

Use echelon_form function with parameter transformation=True:

R, E = M.echelon_form(transformation=True)
assert E*M == R