naalg.spad line 594 [edit on github]
AlgebraPackage assembles a variety of useful functions for general algebras.
basis(va)
selects a basis from the elements of va
.
basisOfCenter()
returns a basis of the space of all x
of A
satisfying commutator(x, a) = 0
and associator(x, a, b) = associator(a, x, b) = associator(a, b, x) = 0
for all a
, b
in A
.
basisOfCentroid()
returns a basis of the centroid, i.e. the endomorphism ring of A
considered as (A, A)
-bimodule.
basisOfCommutingElements()
returns a basis of the space of all x
of A
satisfying 0 = commutator(x, a)
for all a
in A
.
basisOfLeftAnnihilator(a)
returns a basis of the space of all x
of A
satisfying 0 = x*a
.
basisOfLeftNucleus()
returns a basis of the space of all x
of A
satisfying 0 = associator(x, a, b)
for all a
, b
in A
.
basisOfLeftNucloid()
returns a basis of the space of endomorphisms of A
as right module. Note: left nucloid coincides with left nucleus if A
has a unit.
basisOfMiddleNucleus()
returns a basis of the space of all x
of A
satisfying 0 = associator(a, x, b)
for all a
, b
in A
.
basisOfNucleus()
returns a basis of the space of all x
of A
satisfying associator(x, a, b) = associator(a, x, b) = associator(a, b, x) = 0
for all a
, b
in A
.
basisOfRightAnnihilator(a)
returns a basis of the space of all x
of A
satisfying 0 = a*x
.
basisOfRightNucleus()
returns a basis of the space of all x
of A
satisfying 0 = associator(a, b, x)
for all a
, b
in A
.
basisOfRightNucloid()
returns a basis of the space of endomorphisms of A
as left module. Note: right nucloid coincides with right nucleus if A
has a unit.
biRank(x)
determines the number of linearly independent elements in x
, x*bi
, bi*x
, bi*x*bj
, i, j=1, ..., n
, where b=[b1, ..., bn]
is a basis. Note: if A
has a unit, then doubleRank, weakBiRank and biRank coincide.
doubleRank(x)
determines the number of linearly independent elements in b1*x
, ..., x*bn
, where b=[b1, ..., bn]
is a basis.
leftRank(x)
determines the number of linearly independent elements in x*b1
, ..., x*bn
, where b=[b1, ..., bn]
is a basis.
radicalOfLeftTraceForm()
returns basis for null space of leftTraceMatrix()
, if the algebra is associative, alternative or a Jordan algebra, then this space equals the radical (maximal nil ideal) of the algebra.
rightRank(x)
determines the number of linearly independent elements in b1*x
, ..., bn*x
, where b=[b1, ..., bn]
is a basis.
weakBiRank(x)
determines the number of linearly independent elements in the bi*x*bj
, i, j=1, ..., n
, where b=[b1, ..., bn]
is a basis.