Macaulay2 » Documentation
Packages » EnumerationCurves :: linesHypersurface
next | previous | forward | backward | up | index | toc

linesHypersurface -- Lines on hypersurfaces

Synopsis

Description

Computes the number of lines on a general hypersurface of degree 2n - 3 in \mathbb P^n.

i1 : time for n from 2 to 10 list linesHypersurface(n)
 -- used 0.0239989s (cpu); 0.0243404s (thread); 0s (gc)

o1 = {1, 27, 2875, 698005, 305093061, 210480374951, 210776836330775,
     ------------------------------------------------------------------------
     289139638632755625, 520764738758073845321}

o1 : List

Ways to use linesHypersurface:

For the programmer

The object linesHypersurface is a method function.