[top][index]
search for:

gbTrace -- provide tracing output during various computations in the engine.

gbTrace n -- set the tracing level for the engine to level n. Meaningful values for the user n are 0, 1, 2, and 3.

The notations used in tracing are :

  • g - a generator reduced to something nonzero and has been added to the basis.
  • m - an S-pair reduced to something nonzero and has been added to the basis.
  • z - an S-pair reduced to zero, and a syzygy has been recorded.
  • u - an S-pair reduced to zero, but the syzygy need not be recorded.
  • o - an S-pair or generator reduced to zero, but no new syzygy occurred.
  • r - an S-pair has been removed.
  • {2} - beginning to reduce the S-pairs of multi-degree {2}.
  • (7) - 7 more S-pairs among basis elements need to be reduced.
  • (8,9) - there are 8 S-pairs to do in this degree, and 9 more in higher degrees.
  • . - a minor has been computed, or something has happened while computing a resolution.
  • The value returned is the old tracing level.

    Code:

         -- ../../../Macaulay2/m2/gb.m2:10-14
         gbTrace = (n) -> (
              if class n === ZZ then (
                   sendgg(ggINT, gg n, ggtracing);
                   eePopInt())
              else error "expected an integer" )

    [top][index]
    search for: