computes the number of elements in a alternating group, using the
above routines:
#include "def.h"
#include "macro.h"
main()
{
OP a,b,c,d;
anfang();
a=callocobject(); b=callocobject(); c=callocobject(); d=callocobject();
scan(INTEGER,a); m_gl_alt(a,b);
m_gl_first(b,c); println(c);
m_i_i(1L,d);
while( m_gl_next(b,c,c) ) inc(d);
println(d); println(c);
freeall(a); freeall(b); freeall(c); freeall(d);
ende();
}
Send comments or suggestions to:
symmetrica (at) symmetrica
this page was automatically generated on So Aug 10 12:23:24 CEST 2008 on the machine btn6xa