HaskellForMaths-0.4.9: Combinatorics, group theory, commutative algebra, non-commutative algebra

Safe HaskellNone
LanguageHaskell98

Math.Algebras.Octonions

Description

A module defining the (non-associative) algebra of octonions over an arbitrary field.

The octonions are the algebra defined by the basis {1,i0,i1,i2,i3,i4,i5,i6}, where each i_n * i_n = -1, and i_n+1 * i_n+2 = i_n+4 (where the indices are modulo 7).

Documentation

data OBasis Source #

Constructors

O Int 
Instances
Eq OBasis Source # 
Instance details

Defined in Math.Algebras.Octonions

Methods

(==) :: OBasis -> OBasis -> Bool #

(/=) :: OBasis -> OBasis -> Bool #

Ord OBasis Source # 
Instance details

Defined in Math.Algebras.Octonions

Show OBasis Source # 
Instance details

Defined in Math.Algebras.Octonions

(Eq k, Num k) => Algebra k OBasis Source # 
Instance details

Defined in Math.Algebras.Octonions

(Eq k, Num k) => HasConjugation k OBasis Source # 
Instance details

Defined in Math.Algebras.Octonions

Methods

conj :: Vect k OBasis -> Vect k OBasis Source #

sqnorm :: Vect k OBasis -> k Source #

i_ :: Num k => Int -> Octonion k Source #