| 1 | initial version |
The rescale_row method acts in place, which means that it does not return anything, but modifies the matrix:
sage: AA=matrix([[3,-2,2],[1,-4,4],[1,-1,1]])
sage: AA
[ 3 -2 2]
[ 1 -4 4]
[ 1 -1 1]
sage: AA.rescale_row(0,-1)
sage: AA
[-3 2 -2]
[ 1 -4 4]
[ 1 -1 1]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.