OKlibrary  0.2.1.6
LinearGroups.mac
Go to the documentation of this file.
00001 /* Oliver Kullmann, 5.12.2009 (Swansea) */
00002 /* Copyright 2009 Oliver Kullmann
00003 This file is part of the OKlibrary. OKlibrary is free software; you can redistribute
00004 it and/or modify it under the terms of the GNU General Public License as published by
00005 the Free Software Foundation and included in this library; either version 3 of the
00006 License, or any later version. */
00007 
00022 oklib_include("OKlib/ComputerAlgebra/DataStructures/Lisp/Lists.mac")$
00023 
00024 
00025 /* The order of the linear group GL(n,q) of dimension n over a field with q
00026    elements (n >= 0, q a prime-power):
00027 */
00028 order_gl(n,q) := prod_l(create_list(q^n - q^(k-1), k,1,n))$
00029 /* Remarks: This is the number of invertible square matrices of order n
00030    over a field with q elements. The function can be applied to arbitrary
00031    integral n and arbitrary terms q.
00032 */
00033