jsci.maths.algebras
Class su2Dim2
- java.lang.Object
-
- jsci.maths.algebras.LieAlgebra
-
- jsci.maths.algebras.su2Dim2
-
public final class su2Dim2 extends LieAlgebra
The su2Dim2 class encapsulates su(2) algebras using the 2 dimensional (fundamental) representation. Elements are represented by 3-vectors with a matrix basis.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description AbstractComplexSquareMatrix[]basis()Returns the basis used to represent the Lie algebra.AbstractComplexSquareMatrixgetElement(AbstractDoubleVector v)Returns an element as a matrix (vector*basis).static su2Dim2getInstance()Singleton.AbstractDoubleVectormultiply(AbstractDoubleVector a, AbstractDoubleVector b)Returns the Lie bracket (commutator) of two elements.-
Methods inherited from class jsci.maths.algebras.LieAlgebra
toString
-
-
-
-
Method Detail
-
getInstance
public static final su2Dim2 getInstance()
Singleton.
-
getElement
public AbstractComplexSquareMatrix getElement(AbstractDoubleVector v)
Returns an element as a matrix (vector*basis).- Specified by:
getElementin classLieAlgebra
-
multiply
public AbstractDoubleVector multiply(AbstractDoubleVector a, AbstractDoubleVector b)
Returns the Lie bracket (commutator) of two elements. Same as the vector cross product.- Specified by:
multiplyin classLieAlgebra
-
basis
public AbstractComplexSquareMatrix[] basis()
Returns the basis used to represent the Lie algebra.- Specified by:
basisin classLieAlgebra
-
-
DMelt 3.0 © DataMelt by jWork.ORG