ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 18 Apr 2016 16:06:07 +0200Bug in matrix multiplication and inversion?https://ask.sagemath.org/question/33133/bug-in-matrix-multiplication-and-inversion/I'm using sage 7.1 and this code here returns `false`.
M = matrix ([[sqrt(1-1/2),1/2],[1,-sqrt(1-1/2)]])
N = matrix ([[sqrt(1-1/3),1],[1/3,-sqrt(1-1/3)]])
(M*N).inverse() == N.inverse()*M.inverse()
What is going on?
ThomasMon, 18 Apr 2016 16:06:07 +0200https://ask.sagemath.org/question/33133/elementary matrices for elementary row operationshttps://ask.sagemath.org/question/31194/elementary-matrices-for-elementary-row-operations/Hello,
I'm using Sage to get random_matrix for Students.
random_matrix(QQ,4,4, algorithm="echelonizable", rank=4, upper_bound=15)
Is there an option to get all elementary matrices for all elementary matrix-operations by using for example matrix.inverse()?
Thanks for the help!SebastianMon, 30 Nov 2015 11:48:03 +0100https://ask.sagemath.org/question/31194/