next | previous | forward | backward | up | top | index | toc | Macaulay2 website
SubalgebraBases :: debugPrintGens

debugPrintGens -- Print the generators of a subring.

Synopsis

Description

Prints the generators of a subring in a human readable-format.

Polynomials whose net representation is wider than StrWidth characters truncated.

i1 : R = QQ[t_1, t_2];
i2 : subR = subring matrix(R, {{t_1^2, t_1*t_2, t_2^2}});
i3 : debugPrintGens(subR)
     2
p : t
 2   2
    t t
p :  1 2
 3  
     2
p : t
 4   1

See also

Ways to use debugPrintGens :

For the programmer

The object debugPrintGens is a method function with options.