Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Matrix operations

Tree questions in one : 1) If I follow the quickref guide the following code

AA=matrix([[3,-2,2],[1,-4,4],[1,-1,1]]

AA.rescale_row(0,-1)

should return

matrix([[-3,2,-2],[1,-4,4],[1,-1,1]]

but I see no change. What gos wrong ?

2) Is ther a way to decuplate a line and rescale it without retransforming the matrix in list?