Class JSci.physics.quantum.KetVector
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JSci.physics.quantum.KetVector

java.lang.Object
   |
   +----JSci.maths.Tensor
           |
           +----JSci.maths.Vector
                   |
                   +----JSci.physics.quantum.KetVector

public final class KetVector
extends Vector
The KetVector class provides an object for encapsulating Dirac ket vectors.

Constructor Index

 o KetVector(ComplexVector)
Constructs a ket vector given a vector representation.

Method Index

 o clone()
Creates a clone of this ket vector.
 o dimension()
Returns the dimension.
 o equals(Object)
Compares two ket vectors for equality.
 o getRepresentation()
Returns the representation.
 o hashCode()
Returns a hashcode for this ket vector.
 o norm()
Returns the norm.
 o toBraVector()
Map this ket vector to a bra vector.
 o toString()
Returns a comma delimited string representing the value of this ket vector.

Constructors

 o KetVector
  public KetVector(ComplexVector rep)
Constructs a ket vector given a vector representation.
Parameters:
rep - a vector representation

Methods

 o equals
  public boolean equals(Object a)
Compares two ket vectors for equality.
Parameters:
a - a ket vector
Overrides:
equals in class Object
 o clone
  public Object clone()
Creates a clone of this ket vector.
Returns:
a copy of this ket vector.
Overrides:
clone in class Object
 o toString
  public String toString()
Returns a comma delimited string representing the value of this ket vector.
Overrides:
toString in class Object
 o hashCode
  public int hashCode()
Returns a hashcode for this ket vector.
Overrides:
hashCode in class Object
 o toBraVector
  public BraVector toBraVector()
Map this ket vector to a bra vector.
 o getRepresentation
  public ComplexVector getRepresentation()
Returns the representation.
 o dimension
  public int dimension()
Returns the dimension.
Overrides:
dimension in class Vector
 o norm
  public double norm()
Returns the norm.
Overrides:
norm in class Vector

All Packages  Class Hierarchy  This Package  Previous  Next  Index