Skip to content

Commit

Permalink
Update SheafComplexes.m2
Browse files Browse the repository at this point in the history
Test push: added small helper function
  • Loading branch information
kellerlv committed Jun 1, 2024
1 parent cb8e49c commit 6461596
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/Varieties/SheafComplexes.m2
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ complex' List := Complex => opts -> L -> (
error "expected a list of matrices or a list of modules";
)

sheaf Complex := Complex => C -> (
(lo,hi) := concentration C;
complex' for i from lo+1 to hi list sheaf C.dd_i
)


-*
map(Complex, Complex, HashTable) := ComplexMap => opts -> (tar, src, maps) -> (
R := ring tar;
Expand Down

0 comments on commit 6461596

Please sign in to comment.