Re: [sage-devel] Mutability of echelon form result

2010-12-28 Thread Robert Bradshaw
On Tue, Dec 28, 2010 at 8:38 PM, Rob Beezer wrote: > sage: A=matrix(QQ,2,range(4)) > sage: B=matrix(ZZ,2,range(4)) > sage: C=A.echelon_form() > sage: D=B.echelon_form() > sage: C.is_mutable() > True > sage: D.is_mutable() > False > > Should C and D be different with regard to mutability?  If not,

[sage-devel] Mutability of echelon form result

2010-12-28 Thread Rob Beezer
sage: A=matrix(QQ,2,range(4)) sage: B=matrix(ZZ,2,range(4)) sage: C=A.echelon_form() sage: D=B.echelon_form() sage: C.is_mutable() True sage: D.is_mutable() False Should C and D be different with regard to mutability? If not, should both results be immutable? (I'd rather not have to handle both