commands → rowreduce

rowreduce(A)
rowreduce(A,P)

The rowreduce command performs Gaussian elimination (row reduction) on the matrix A. An optional second argument P specifies the modulus.

Examples

rowreduce([[1,2],[3,4]]);
	[[1, 2], [0, 1]]