public abstract class LieAlgebra
extends java.lang.Object
Constructor and Description |
---|
LieAlgebra(java.lang.String aLabel)
Constructs a Lie algebra.
|
Modifier and Type | Method and Description |
---|---|
abstract ComplexSquareMatrix[] |
basis()
Returns the basis used to represent the Lie algebra.
|
abstract ComplexSquareMatrix |
getElement(DoubleVector v)
Returns an element as a matrix (vector*basis).
|
abstract DoubleVector |
multiply(DoubleVector a,
DoubleVector b)
Returns the Lie bracket (commutator) of two elements.
|
java.lang.String |
toString()
Returns a string representing this algebra.
|
public LieAlgebra(java.lang.String aLabel)
aLabel
- a label that identifies this algebrapublic final java.lang.String toString()
toString
in class java.lang.Object
public abstract ComplexSquareMatrix getElement(DoubleVector v)
public abstract DoubleVector multiply(DoubleVector a, DoubleVector b)
public abstract ComplexSquareMatrix[] basis()