divisorClassRepresentativeM0nbar(n,H)
This function creates an object of type DivisorClassRepresentativeM0nbar. Here is a basic example:
|
|
The input can be a list or a hash table (see the documentation for (divisorClassRepresentativeM0nbar,ZZ,HashTable)) . The elements of the list should be pairs {I,c}. This will add $c \delta_{I}$ to the divisor class expression. Equivalently, you can type I=>c instead of {I,c}.
|
|
The function divisorClassRepresentative does some minimal testing to make sure the expression makes sense. For instance, if you type "L=\{ {1,7\}=>1 \}" and then run "divisorClassRepresentativeM0nbar(6,L)" you will get an error that "The divisor expression is invalid."
The function sorts the divisor class labels. If sorting creates like terms, they are combined:
|
|
If $\#I^c < \# I$ the function will replace $\delta_I$ by $\delta_{I^c}$.
|
|
If $\#I = n/2$ and 1 is not in $I$ it will replace $\delta_I$ by $\delta_{I^c}$.
|
|
It deletes terms whose coefficient is zero.
|
|
The object divisorClassRepresentativeM0nbar is a method function.