Class MatrixLieAlgebra<E>
java.lang.Object
org.episteme.core.mathematics.algebra.algebras.MatrixLieAlgebra<E>
- All Implemented Interfaces:
Algebra<Matrix<E>, E>, LieAlgebra<Matrix<E>, E>, AbelianGroup<Matrix<E>>, AbelianMonoid<Matrix<E>>, Group<Matrix<E>>, Magma<Matrix<E>>, Monoid<Matrix<E>>, Ring<Matrix<E>>, Semiring<Matrix<E>>, Set<Matrix<E>>, Module<Matrix<E>, E>
A concrete Lie Algebra where elements are square matrices and the bracket
is the commutator [A, B] = AB - BA.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the sum of two elements (additive notation).booleanTests whether this set contains the specified element.Returns a human-readable description of this set.intReturns the dimension of the Lie algebra (n^2 for n×n matrices).Returns the scalar field.Returns the ring of scalars for this module.Returns the inverse of the given element.booleanisEmpty()Returnstrueif this set contains no elements.booleanTests whether multiplication is commutative in this semiring.The bilinear product operation.Returns the additive inverse (negation) of an element.one()Returns the multiplicative identity (one element).Performs the binary operation on two elements.Scalar multiplication (r × m).zero()Returns the additive identity (zero element).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AbelianGroup
isCommutative, subtractMethods inherited from interface AbelianMonoid
identity, isCommutativeMethods inherited from interface LieAlgebra
bracketMethods inherited from interface Monoid
isAssociative
-
Constructor Details
-
MatrixLieAlgebra
-
-
Method Details
-
dimension
public int dimension()Returns the dimension of the Lie algebra (n^2 for n×n matrices). -
getScalarField
-
getScalarRing
-
multiply
Description copied from interface:AlgebraThe bilinear product operation.This is the same as the Ring multiplication, but explicitly viewed as the algebra product.
-
operate
Description copied from interface:MagmaPerforms the binary operation on two elements.This is the fundamental operation of a magma. The result must be an element of this magma (closure property).
Properties: None required (not necessarily associative or commutative)
-
add
Description copied from interface:AbelianMonoidReturns the sum of two elements (additive notation).Delegates to
Magma.operate(Object, Object).- Specified by:
addin interfaceAbelianMonoid<E>- Parameters:
a- the first addendb- the second addend- Returns:
- a + b
-
zero
Description copied from interface:AbelianMonoidReturns the additive identity (zero element).Delegates to
AbelianMonoid.identity().- Specified by:
zeroin interfaceAbelianMonoid<E>- Returns:
- the zero element
-
negate
Description copied from interface:AbelianGroupReturns the additive inverse (negation) of an element.Satisfies: a + (-a) = (-a) + a = 0
- Specified by:
negatein interfaceAbelianGroup<E>- Parameters:
element- the element to negate- Returns:
- -element
- See Also:
-
inverse
Description copied from interface:GroupReturns the inverse of the given element.For element a, returns a⻹ such that: a ∗ a⻹ = a⻹ ∗ a = e (identity).
-
description
Description copied from interface:SetReturns a human-readable description of this set.Examples:
- "â„ (Real Numbers)"
- "ℤ/12ℤ (Integers modulo 12)"
- "{1, 2, 3, 4, 5}"
- Specified by:
descriptionin interfaceSet<E>- Returns:
- a description of this set
-
isEmpty
-
contains
Description copied from interface:SetTests whether this set contains the specified element.This is the fundamental operation of a set - membership testing.
-
scale
-
isMultiplicationCommutative
public boolean isMultiplicationCommutative()Description copied from interface:SemiringTests whether multiplication is commutative in this semiring.- Specified by:
isMultiplicationCommutativein interfaceSemiring<E>- Returns:
trueif multiplication commutes
-
one
-