Square CoCalc Logo
FeaturesSoftwarePricingInfoPoliciesShareSupport Try Sign InSign Up
Path: support / 2014-11-30-homology.sagews
Description:

Examples for support purposes.

Views: 1079171
License: GPL3
Image: ubuntu2004-dev
Project: Support and Testing
Raw | Embed | Download |
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