Sharedsupport / 2014-11-30-homology.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
D = ChainComplex({0: identity_matrix(ZZ, 4), 4: identity_matrix(ZZ, 30)}) H = D.homology()
H
{}
H.get(2,0)
0
v = {1:5, 2:3}
v.get(1,0)
5
v.get(7,0)
0