All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.maths.groups.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.


Constructor Index

 o U1()
Constructs a U(1) group.

Method Index

 o compose(Complex, Complex)
The group composition law.
 o getElement(double)
Returns an element from within the group.
 o identityAsComplex()
Returns the identity element.
 o inverse(Complex)
Returns the inverse element.
 o isIdentity(Complex)
Returns true if the element is the identity element of this group.
 o isInverse(Complex, Complex)
Returns true if one element is the inverse of the other.
 o toString()
Returns a string representing this group.

Constructors

 o U1
 public U1()
Constructs a U(1) group.

Methods

 o toString
 public String toString()
Returns a string representing this group.

Overrides:
toString in class Object
 o getElement
 public Complex getElement(double param)
Returns an element from within the group.

Parameters:
param - parameter to specify the group element
 o compose
 public Complex compose(Complex a,
                        Complex b)
The group composition law.

Parameters:
a - a group element
b - a group element
 o identityAsComplex
 public Complex identityAsComplex()
Returns the identity element.

 o inverse
 public Complex inverse(Complex a)
Returns the inverse element.

 o isIdentity
 public boolean isIdentity(Complex a)
Returns true if the element is the identity element of this group.

Parameters:
a - a group element
 o isInverse
 public boolean isInverse(Complex a,
                          Complex b)
Returns true if one element is the inverse of the other.

Parameters:
a - a group element
b - a group element

All Packages  Class Hierarchy  This Package  Previous  Next  Index