Skip to content

Commit

Permalink
feat: Kodaira surfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pbelmans committed Dec 11, 2024
1 parent 22d4d07 commit a083a82
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diamond/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
hypersurface,
inoue,
jacobian,
kodaira_primary,
kodaira_secondary,
kummer_resolution,
lagrangian_grassmannian,
lefschetz,
Expand Down Expand Up @@ -84,6 +86,8 @@
"hypersurface",
"inoue",
"jacobian",
"kodaira_primary",
"kodaira_secondary",
"kummer_resolution",
"lagrangian_grassmannian",
"lefschetz",
Expand Down
10 changes: 10 additions & 0 deletions diamond/diamond.py
Original file line number Diff line number Diff line change
Expand Up @@ -2851,6 +2851,16 @@ def hopf():
return inoue()


def kodaira_primary():
r"""Hodge diamond of a primary Kodaira surface"""
return HodgeDiamond.from_matrix([[1, 1, 1], [2, 2, 2], [1, 1, 1]])


def kodaira_secondary():
r"""Hodge diamond of a secondary Kodaira surface"""
return HodgeDiamond.from_matrix([[1, 0, 0], [1, 0, 1], [0, 0, 1]])


def weighted_hypersurface(degree, weights):
"""
Hodge diamond for a weighted hypersurface of degree ``d`` in ``P(w_0,...,w_n)``
Expand Down

0 comments on commit a083a82

Please sign in to comment.