59.4 Some Special Algebras

  • QuaternionAlgebra( F ) F
  • QuaternionAlgebra( F, a, b ) F

    is a quaternion algebra over the field F with parameters a and b in F, i.e., a four-dimensional associative F-algebra with basis (e,i,j,k) and multiplication defined by e e = e, e i = i e = i, e j = j e = j, e k = k e = k, i i = a e, i j = - j i = k, i k = - k i = a j, j j = b e, j k = - k j = b i, k k = - a b e. The default values for a and b are -1 in F.

    The embedding of the field GaussianRationals into a quaternion algebra A over Rationals is not uniquely determined. One can specify one as a vector space homomorphism that maps 1 to the first algebra generator of A, and E(4) to one of the others.

    gap> QuaternionAlgebra( Rationals );
    <algebra-with-one of dimension 4 over Rationals>
    

  • ComplexificationQuat( vector ) F
  • ComplexificationQuat( matrix ) F

    Let A = e F Åi F Åj F Åk F be a quaternion algebra over the field F of cyclotomics, with basis (e,i,j,k).

    If v = v1 + v2 j is a row vector over A with v1 = e w1 + i w2 and v2 = e w3 + i w4 then ComplexificationQuat( v ) is the concatenation of w1 + E(4) w2 and w3 + E(4) w4.

    If M = M1 + M2 j is a matrix over A with M1 = e N1 + i N2 and M2 = e N3 + i N4 then ComplexificationQuat( M ) is the block matrix A over e F Åi F such that A(1,1) = N1 + E(4) N2, A(2,2) = N1 - E(4) N2, A(1,2) = N3 + E(4) N4 and A(2,1) = - N3 + E(4) N4.

    Then ComplexificationQuat(v)*ComplexificationQuat(M)= ComplexificationQuat(v*M), since

    v M = v1 M1 + v2 j M1 + v1 M2 j + v2 j M2 j = ( v1 M1 - v2
    M2
     
    ) + ( v1 M2 + v2
    M1
     
    ) j .

  • OctaveAlgebra( F ) F

    The algebra of octonions over F.

    gap> OctaveAlgebra( Rationals );
    <algebra of dimension 8 over Rationals>
    

  • FullMatrixAlgebra( R, n ) F
  • MatrixAlgebra( R, n ) F
  • MatAlgebra( R, n ) F

    is the full matrix algebra R n ×n , for a ring R and a nonnegative integer n.

    gap> A:=FullMatrixAlgebra( Rationals, 20 );
    ( Rationals^[ 20, 20 ] )
    gap> Dimension( A );
    400
    

  • NullAlgebra( R ) A

    The zero-dimensional algebra over R.

    gap> A:= NullAlgebra( Rationals );
    <algebra over Rationals>
    gap> Dimension( A );
    0
    

    [Top] [Previous] [Up] [Next] [Index]

    GAP 4 manual
    February 2000