Sharedsupport / 2015-10-23-055310-mutable.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: 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