############################################################################# ## ## declare various parameters ##
ZeroNP := [ [ [] ], [0] ]; ## NP form of the zero polynomial
InvolutiveAbortLimit := 20; ## abort when generating an infinite basis
############################################################################# ## #M DisplayIBNP( <polys>, <pl> ) ## ## displays a list of polynomials according to print level ##
InstallMethod( DisplayIBNP, "displays list of polynomials by print level",
true, [ IsList, IsInt ], 0, function( polys, pl )
local i, pol, Lpol; for i in [1..Length(polys)] do
pol := polys[i];
Lpol := GP2NP( pol ); ## if pl=1, display the polynomial using the original generators if( pl = 1 ) then
PrintNP( Lpol ); ## else display the polynomial using ASCII generators elif ( pl = 2 ) then
Print( Lpol, "\n" ); else
Error( "pl not in [1,2]" ); fi;
od; end );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.