jsci.maths.groups
Class U1
- java.lang.Object
-
- jsci.maths.groups.LieGroup
-
- jsci.maths.groups.U1
-
public final class U1 extends LieGroup
The U1 class provides an encapsulation for U(1) groups. Unlike the parent LieGroup class, elements are not limited to being near the identity. The methods in this class assume a complex number representation for convenience. The LieGroup methods still provide a matrix representation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description ComplexgetElement(double param)Returns an element from within the group.static U1getInstance()Constructs a U(1) group.booleanisIdentity(Complex a)Returns true if the element is the identity element of this group.booleanisInverse(Complex a, Complex b)Returns true if one element is the inverse of the other.java.lang.StringtoString()Returns a string representing this group.-
Methods inherited from class jsci.maths.groups.LieGroup
dimension, getElement, identity, isIdentity, isInverse
-
-
-
-
Method Detail
-
getInstance
public static final U1 getInstance()
Constructs a U(1) group. Singleton.
-
toString
public java.lang.String toString()
Returns a string representing this group.- Overrides:
toStringin classjava.lang.Object
-
getElement
public Complex getElement(double param)
Returns an element from within the group.- Parameters:
param- parameter to specify the group element
-
isIdentity
public boolean isIdentity(Complex a)
Returns true if the element is the identity element of this group.- Parameters:
a- a group element
-
-
DMelt 3.0 © DataMelt by jWork.ORG