  
  [1m[4m[31m4. Installation and auxiliary functions[0m
  
  
  [1m[4m[31m4.1 Installation[0m
  
  Like  any  other  [1mGAP[0m  package,  [1mResClasses[0m  must  be  installed  in the [1mpkg[0m
  subdirectory  of  the  [1mGAP[0m  distribution.  This  is  done  by extracting the
  distribution  file  in this directory. By default, the package [1mResClasses[0m is
  autoloaded,  otherwise you can load it via [22m[32mLoadPackage( "resclasses" );[0m. The
  [1mResClasses[0m  Package needs at least version 4.4 of [1mGAP[0m, is completely written
  in  the [1mGAP[0m language and does neither contain nor require external binaries.
  For the documentation the package [1mGAPDoc[0m [LN02] is needed.
  
  
  [1m[4m[31m4.2 Building the manual[0m
  
  [1m[4m[31m4.2-1 ResClassesBuildManual[0m
  
  [1m[34m> ResClassesBuildManual( [0m[22m[34m[0m[1m[34m ) ________________________________________[0mfunction
  [1mReturns:[0m  Nothing.
  
  This  function  builds  the  manual  of  the  [1mResClasses[0m package in the file
  formats LaTeX, DVI, Postscript, PDF, HTML and ASCII text. This is done using
  the [1mGAPDoc[0m package by Frank Lübeck and Max Neunhöffer.
  
  
  [1m[4m[31m4.3 The testing routine[0m
  
  [1m[4m[31m4.3-1 ResClassesTest[0m
  
  [1m[34m> ResClassesTest( [0m[22m[34m[0m[1m[34m ) _______________________________________________[0mfunction
  [1mReturns:[0m  Nothing.
  
  Performs  tests  of  the  [1mResClasses[0m  package. This function makes use of an
  adaptation  of  the  test  file  [1mtst/testall.g[0m  of  the  [1mGAP[0m library to this
  package.
  
  
  [1m[4m[31m4.4 Changing the viewing format for residue class unions[0m
  
  [1m[4m[31m4.4-1 ResidueClassUnionViewingFormat[0m
  
  [1m[34m> ResidueClassUnionViewingFormat( [0m[22m[34mformat[0m[1m[34m ) _________________________[0mfunction
  [1mReturns:[0m  Nothing.
  
  Switches  between  a  longer  and  more  descriptive ([22m[34mformat[0m = [22m[32m"long"[0m) and a
  shorter  and  less  bulky  ([22m[34mformat[0m  =  [22m[32m"short"[0m) viewing format for unions of
  residue classes.
  
  The  former  is the default and should be used when not many residue classes
  have to be displayed or residue classes of different rings are used, but the
  latter  is  usually  preferable if it is always clear which the base ring is
  and  if the printed representation of many residue classes should fit on one
  screen.
  
  [22m[35m---------------------------  Example  ----------------------------[0m
    [22m[35m[0m
    [22m[35mgap> ResidueClassUnionViewingFormat("short");[0m
    [22m[35mgap> ResidueClassUnion(Integers,12,[1,4,5,7,10,11]);[0m
    [22m[35m1(3) U 5(6)[0m
    [22m[35mgap> ResidueClassUnionViewingFormat("long");[0m
    [22m[35mgap> ResidueClassUnion(Integers,12,[1,4,5,7,10,11]);[0m
    [22m[35mUnion of the residue classes 1(3) and 5(6) of Z[0m
    [22m[35m[0m
  [22m[35m------------------------------------------------------------------[0m
  
