CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2015-10-23-055310-mutable.sagewsOpen in CoCalc

Examples for support purposes...

m = matrix.ones(10)
m.set_immutable()
copy(m).is_immutable()
False
M = ModularSymbols(11)
T2 = M.hecke_matrix(2); T2
T2.is_immutable()
True
v = m[0]
v.set_immutable()
hash(v)
-1249422552412271215