Package sage :: Package groups :: Package matrix_gps :: Module symplectic
[hide private]
[frames] | no frames]

Module symplectic

source code


Symplectic Linear Groups

AUTHOR:
    -- David Joyner: initial version (2006-3), modified from 
                     special_linear (by W. Stein)

EXAMPLES:
    sage: G = Sp(4,GF(7))
    sage: G._gap_init_()
    'Sp(4, 7)'
    sage: G
    Symplectic Group of rank 2 over Finite Field of size 7
    sage: G.random_element()
    [1 6 5 5]
    [2 1 4 5]
    [1 2 4 5]
    [4 0 2 2]
    sage: G.order()
    276595200



Classes [hide private]
  SymplecticGroup_generic
  SymplecticGroup_finite_field
Functions [hide private]
 
Sp(n, R, var='a')
Return the symplectic group of degree n over R.
source code
Function Details [hide private]

Sp(n, R, var='a')

source code 

Return the symplectic group of degree n over R.

EXAMPLES:
    sage: Sp(4,5)
    Symplectic Group of rank 2 over Finite Field of size 5
    sage: Sp(3,GF(7))
    Traceback (most recent call last):
    ...
    ValueError: the degree n (=3) must be even