jsci.maths.algebras
Class HilbertSpace
- java.lang.Object
-
- jsci.maths.algebras.HilbertSpace
-
- All Implemented Interfaces:
- BanachSpace, Module, VectorSpace, AbelianGroup
- Direct Known Subclasses:
- Hilb.OperatorSpace
public class HilbertSpace extends java.lang.Object implements BanachSpace
The HilbertSpace class encapsulates Hilbert spaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interfaceHilbertSpace.MemberThis interface defines a member of a Hilbert space.
-
Constructor Summary
Constructors Constructor and Description HilbertSpace(int n)Constructs a Hilbert space.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intdimension()Returns the dimension.VectorSpace.MembergetVector(Complex[] array)Returns a vector from the Hilbert space.booleanisNegative(AbelianGroup.Member a, AbelianGroup.Member b)Returns true if one vector is the negative of the other.booleanisZero(AbelianGroup.Member v)Returns true if the vector is equal to zero.AbelianGroup.Memberzero()Returns the zero vector.
-
-
-
Method Detail
-
getVector
public VectorSpace.Member getVector(Complex[] array)
Returns a vector from the Hilbert space.
-
dimension
public int dimension()
Returns the dimension.
-
zero
public AbelianGroup.Member zero()
Returns the zero vector.- Specified by:
zeroin interfaceAbelianGroup
-
isZero
public boolean isZero(AbelianGroup.Member v)
Returns true if the vector is equal to zero.- Specified by:
isZeroin interfaceAbelianGroup- Parameters:
v- a group member
-
isNegative
public boolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
Returns true if one vector is the negative of the other.- Specified by:
isNegativein interfaceAbelianGroup- Parameters:
a- a group memberb- a group member
-
-
DMelt 3.0 © DataMelt by jWork.ORG