[next][previous][up][top][index]
search for:

genera Module -- list the sectional arithmetic genera

Synopsis:

  • Function: genera -- list the sectional arithmetic genera
  • Input:
  • an instance of class Module.
  • Output:
  • an instance of class List.
  • Code:

         -- ../../../Macaulay2/m2/modules.m2:402-405
         genera(Module) := (M) -> (
              e := euler M;
              d := dim M - 1;
              apply(#e, i -> (-1)^(i+d) * (e#i - 1)))

    [next][previous][up][top][index]
    search for: