AUTHORS:
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
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))
...
ValueError: the degree n (=3) must be even
Return GAP string that evaluates to this group.
EXAMPLES:
sage: Sp(2,4)._gap_init_()
'Sp(2, 4)'
Return LaTeX representation of this group.
EXAMPLES:
sage: latex(Sp(4,5))
\text{Sp}_{4}(\Bold{F}_{5})
Return print representation of this group.
EXAMPLES:
sage: Sp(2,4)
Symplectic Group of rank 1 over Finite Field in a of size 2^2