Euler I
Euler(X,J)
Euler csm
For a subscheme V of an applicable toric variety X, this command computes the Euler characteristic
|
|
|
|
|
|
|
|
|
Note that the ideal J above is a complete intersection, thus we may change the method option which may speed computation in some cases. We may also note that the ideal generated by the first 2 generators of I defines a smooth scheme and input this information into the method. This may also improve computation speed.
|
|
Now consider an example in \PP^2 \times \PP^2.
|
|
|
|
|
|
In the case where the ambient space is a toric variety which is not a product of projective spaces we must load the NormalToricVarieties package and must also input the toric variety. If the toric variety is a product of projective space it is recommended to use the form above rather than inputting the toric variety for efficiency reasons.
|
|
|
|
|
|
|
|
|
|
All the examples were done using symbolic computations with Gr\"obner bases. Changing the option CompMethod to bertini will do the main computations numerically, provided Bertini is installed and configured. Note that the bertini and PnResidual options may only be used for subschemes of \PP^n.
Observe that the algorithm is a probabilistic algorithm and may give a wrong answer with a small but nonzero probability. Read more under probabilistic algorithm.
The object Euler is a method function with options.