Skip to content

Commit

Permalink
Added the ToricLinearSeries
Browse files Browse the repository at this point in the history
  • Loading branch information
DTruth99 committed Jun 1, 2024
1 parent 5e5e7d9 commit abd7b44
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 21 additions & 2 deletions ToricExtras.m2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
------------------------------------------------------------------------------
newPackage(
"ToricExtras",
AuxiliaryFiles => false,
AuxiliaryFiles => true,
Version => "0.1",
Date => "1 June 2024",
Authors => {{
Expand All @@ -34,14 +34,16 @@ newPackage(
DebuggingMode => true
)

export {
export {
"ToricLinearSeries"
}


------------------------------------------------------------------------------
-- CODE
------------------------------------------------------------------------------

load "ToricExtras/ToricLinearSeries.m2"

------------------------------------------------------------------------------
-- DOCUMENTATION
Expand All @@ -58,6 +60,16 @@ doc ///
be incorporated into the existing NormalToricVarieties package.
///

doc ///
Key
ToricLinearSeries
Headline
Linear series on a toric variety
Description
Text
Work in progress implementation of linear series on a toric variety
///

------------------------------------------------------------------------------
-- TESTS
------------------------------------------------------------------------------
Expand All @@ -68,6 +80,12 @@ TEST ///
assert isWellDefined X
///

-- test 1: test linear series type
TEST ///
series = new ToricLinearSeries from hashTable {};
assert (series === series)
///

end---------------------------------------------------------------------------

------------------------------------------------------------------------------
Expand All @@ -81,3 +99,4 @@ installPackage "ToricExtras"
check ToricExtras

needsPackage "ToricExtras";

2 changes: 2 additions & 0 deletions ToricExtras/ToricLinearSeries.m2
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ToricLinearSeries = new Type of HashTable
ToricLinearSeries.synonym = "toric linear series"

0 comments on commit abd7b44

Please sign in to comment.