AlgebraGivenByStructuralConstants(R, n, ls, gamma)ΒΆ

AlgebraGivenByStructuralConstants implements finite rank algebras over a commutative ring, given by the structural constants `gamma` with respect to a fixed basis `[a1, .., an]`, where `gamma` is an `n`-vector of `n` by `n` matrices `[(gammaijk) for k in 1..rank()]` defined by `ai * aj = gammaij1 * a1 + ... + gammaijn * an`. The symbols for the fixed basis have to be given as a list of symbols.

0: %

from AbelianMonoid

*: (%, %) -> %

from Magma

*: (%, R) -> %

from RightModule R

*: (Integer, %) -> %

from AbelianGroup

*: (NonNegativeInteger, %) -> %

from AbelianMonoid

*: (PositiveInteger, %) -> %

from AbelianSemiGroup

*: (R, %) -> %

from LeftModule R

*: (SquareMatrix(n, R), %) -> %

from LeftModule SquareMatrix(n, R)

+: (%, %) -> %

from AbelianSemiGroup

-: % -> %

from AbelianGroup

-: (%, %) -> %

from AbelianGroup

=: (%, %) -> Boolean

from BasicType

^: (%, PositiveInteger) -> %

from Magma

~=: (%, %) -> Boolean

from BasicType

alternative?: () -> Boolean
antiAssociative?: () -> Boolean
antiCommutative?: () -> Boolean
antiCommutator: (%, %) -> %
apply: (Matrix R, %) -> %
associative?: () -> Boolean
associator: (%, %, %) -> %
associatorDependence: () -> List Vector R if R has IntegralDomain
basis: () -> Vector %

from FramedModule R

coefficient: (%, OrderedVariableList ls) -> R

from FreeModuleCategory(R, OrderedVariableList ls)

coefficients: % -> List R

from FreeModuleCategory(R, OrderedVariableList ls)

coerce: % -> OutputForm
coerce: Vector R -> %

`coerce(v)` converts a vector to a member of the algebra by forming a linear combination with the basis element. Note: the vector is assumed to have length equal to the dimension of the algebra.

commutative?: () -> Boolean
commutator: (%, %) -> %
conditionsForIdempotents: () -> List Polynomial R
conditionsForIdempotents: Vector % -> List Polynomial R
construct: List Record(k: OrderedVariableList ls, c: R) -> %
constructOrdered: List Record(k: OrderedVariableList ls, c: R) -> %
convert: % -> InputForm if R has Finite
convert: % -> Vector R

from FramedModule R

convert: Vector R -> %

from FramedModule R

coordinates: % -> Vector R

from FramedModule R

coordinates: (%, Vector %) -> Vector R
coordinates: (Vector %, Vector %) -> Matrix R
coordinates: Vector % -> Matrix R

from FramedModule R

elt: (%, Integer) -> R
enumerate: () -> List % if R has Finite

from Finite

flexible?: () -> Boolean
hash: % -> SingleInteger if R has Hashable

from Hashable

hashUpdate!: (HashState, %) -> HashState if R has Hashable

from Hashable

index: PositiveInteger -> % if R has Finite

from Finite

jacobiIdentity?: () -> Boolean
jordanAdmissible?: () -> Boolean
jordanAlgebra?: () -> Boolean
latex: % -> String

from SetCategory

leadingCoefficient: % -> R
leadingMonomial: % -> %
leadingSupport: % -> OrderedVariableList ls
leadingTerm: % -> Record(k: OrderedVariableList ls, c: R)
leftAlternative?: () -> Boolean
leftCharacteristicPolynomial: % -> SparseUnivariatePolynomial R
leftDiscriminant: () -> R
leftDiscriminant: Vector % -> R
leftMinimalPolynomial: % -> SparseUnivariatePolynomial R if R has IntegralDomain
leftNorm: % -> R
leftPower: (%, PositiveInteger) -> %

from Magma

leftRankPolynomial: () -> SparseUnivariatePolynomial Polynomial R if R has Field
leftRecip: % -> Union(%, failed) if R has IntegralDomain
leftRegularRepresentation: % -> Matrix R
leftRegularRepresentation: (%, Vector %) -> Matrix R
leftTrace: % -> R
leftTraceMatrix: () -> Matrix R
leftTraceMatrix: Vector % -> Matrix R
leftUnit: () -> Union(%, failed) if R has IntegralDomain
leftUnits: () -> Union(Record(particular: %, basis: List %), failed) if R has IntegralDomain
lieAdmissible?: () -> Boolean
lieAlgebra?: () -> Boolean
linearExtend: (OrderedVariableList ls -> R, %) -> R

from FreeModuleCategory(R, OrderedVariableList ls)

listOfTerms: % -> List Record(k: OrderedVariableList ls, c: R)
lookup: % -> PositiveInteger if R has Finite

from Finite

map: (R -> R, %) -> %
monomial?: % -> Boolean
monomial: (R, OrderedVariableList ls) -> %
monomials: % -> List %

from FreeModuleCategory(R, OrderedVariableList ls)

noncommutativeJordanAlgebra?: () -> Boolean
numberOfMonomials: % -> NonNegativeInteger
opposite?: (%, %) -> Boolean

from AbelianMonoid

plenaryPower: (%, PositiveInteger) -> %
powerAssociative?: () -> Boolean
random: () -> % if R has Finite

from Finite

rank: () -> PositiveInteger

from FramedModule R

recip: % -> Union(%, failed) if R has IntegralDomain
reductum: % -> %
represents: (Vector R, Vector %) -> %
represents: Vector R -> %

from FramedModule R

rightAlternative?: () -> Boolean
rightCharacteristicPolynomial: % -> SparseUnivariatePolynomial R
rightDiscriminant: () -> R
rightDiscriminant: Vector % -> R
rightMinimalPolynomial: % -> SparseUnivariatePolynomial R if R has IntegralDomain
rightNorm: % -> R
rightPower: (%, PositiveInteger) -> %

from Magma

rightRankPolynomial: () -> SparseUnivariatePolynomial Polynomial R if R has Field
rightRecip: % -> Union(%, failed) if R has IntegralDomain
rightRegularRepresentation: % -> Matrix R
rightRegularRepresentation: (%, Vector %) -> Matrix R
rightTrace: % -> R
rightTraceMatrix: () -> Matrix R
rightTraceMatrix: Vector % -> Matrix R
rightUnit: () -> Union(%, failed) if R has IntegralDomain
rightUnits: () -> Union(Record(particular: %, basis: List %), failed) if R has IntegralDomain
sample: %

from AbelianMonoid

size: () -> NonNegativeInteger if R has Finite

from Finite

smaller?: (%, %) -> Boolean if R has Comparable

from Comparable

someBasis: () -> Vector %
structuralConstants: () -> Vector Matrix R
structuralConstants: Vector % -> Vector Matrix R
subtractIfCan: (%, %) -> Union(%, failed)
support: % -> List OrderedVariableList ls

from FreeModuleCategory(R, OrderedVariableList ls)

unit: () -> Union(%, failed) if R has IntegralDomain
zero?: % -> Boolean

from AbelianMonoid

AbelianGroup

AbelianMonoid

AbelianSemiGroup

BasicType

BiModule(R, R)

CancellationAbelianMonoid

Comparable if R has Comparable

ConvertibleTo InputForm if R has Finite

Finite if R has Finite

Hashable if R has Hashable

LeftModule SquareMatrix(n, R)

Magma

NonAssociativeRng

NonAssociativeSemiRng

SetCategory

unitsKnown if R has IntegralDomain