Constructs a special pencil on a g-nodal canonical curve and computes the type of the scroll swept out by the special pencil. The method used for the computation is based on the article Syzygies of Canonical Curves and Special Linear Series.
i1 : (k,g,n)=(5,13,1000) o1 = (5, 13, 1000) o1 : Sequence |
i2 : time scrollType(k,g,n) -- used 2.20745 seconds o2 = {3, 2, 2, 2} o2 : List |