|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.maths.algebras.HilbertSpace
public class HilbertSpace
The HilbertSpace class encapsulates Hilbert spaces.
Nested Class Summary | |
---|---|
static interface |
HilbertSpace.Member
This interface defines a member of a Hilbert space. |
Constructor Summary | |
---|---|
HilbertSpace(int n)
Constructs a Hilbert space. |
Method Summary | |
---|---|
int |
dimension()
Returns the dimension. |
VectorSpace.Member |
getVector(Complex[] array)
Returns a vector from the Hilbert space. |
boolean |
isNegative(AbelianGroup.Member a,
AbelianGroup.Member b)
Returns true if one vector is the negative of the other. |
boolean |
isZero(AbelianGroup.Member v)
Returns true if the vector is equal to zero. |
AbelianGroup.Member |
zero()
Returns the zero vector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HilbertSpace(int n)
Method Detail |
---|
public VectorSpace.Member getVector(Complex[] array)
public int dimension()
public AbelianGroup.Member zero()
zero
in interface AbelianGroup
public boolean isZero(AbelianGroup.Member v)
isZero
in interface AbelianGroup
v
- a group memberpublic boolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
isNegative
in interface AbelianGroup
a
- a group memberb
- a group member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |