One Hat Cyber Team
Your IP :
216.73.216.115
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
/
Core
/
Edit File:
local.m2
-- Copyright 1993-1998 by Daniel R. Grayson, Michael E. Stillman needs "complexes.m2" -- for Ext -- local cohomology truncatedDual := (M,e) -> ( -- find (k-dual M), truncated in degrees >= e. -- depends on truncate methods needsPackage "Truncations"; R := ring M; n := numgens R; ww := R^{-n}; M1 := minimalPresentation (M / (truncate(-e+1,M))); Ext^n(M1,ww)) cohomology(ZZ,Module) := Module => opts -> (i,M) -> ( -- this is local cohomology for the maximal ideal e := opts.Degree; if e == -infinity then error "not implemented yet"; A := ring M; if not isAffineRing A then error "expected a module over an affine ring"; F := presentation A; R := ring F; M = cokernel lift(presentation M,R) ** cokernel F; n := numgens R; ww := R^{-n}; E := minimalPresentation Ext^(n-i)(M,ww); result := if dim E <= 0 then Ext^n(E,ww) else truncatedDual(E,e); minimalPresentation (result ** A) ) -- Local Variables: -- compile-command: "make -C $M2BUILDDIR/Macaulay2/m2 " -- End:
Simpan