Class JSci.physics.quantum.BraVector
All Packages Class Hierarchy This Package Previous Next Index
Class JSci.physics.quantum.BraVector
java.lang.Object
|
+----JSci.maths.Tensor
|
+----JSci.maths.Vector
|
+----JSci.physics.quantum.BraVector
- public final class BraVector
- extends Vector
The BraVector class provides an object for encapsulating Dirac bra vectors.
-
BraVector(ComplexVector)
- Constructs a bra vector given a vector representation.
-
clone()
- Creates a clone of this bra vector.
-
dimension()
- Returns the dimension.
-
equals(Object)
- Compares two bra vectors for equality.
-
getRepresentation()
- Returns the representation.
-
hashCode()
- Returns a hashcode for this bra vector.
-
norm()
- Returns the norm.
-
toKetVector()
- Map this bra vector to a ket vector.
-
toString()
- Returns a comma delimited string representing the value of this bra vector.
BraVector
public BraVector(ComplexVector rep)
- Constructs a bra vector given a vector representation.
- Parameters:
- rep - a vector representation
equals
public boolean equals(Object a)
- Compares two bra vectors for equality.
- Parameters:
- a - a bra vector
- Overrides:
- equals in class Object
clone
public Object clone()
- Creates a clone of this bra vector.
- Returns:
- a copy of this bra vector.
- Overrides:
- clone in class Object
toString
public String toString()
- Returns a comma delimited string representing the value of this bra vector.
- Overrides:
- toString in class Object
hashCode
public int hashCode()
- Returns a hashcode for this bra vector.
- Overrides:
- hashCode in class Object
toKetVector
public KetVector toKetVector()
- Map this bra vector to a ket vector.
getRepresentation
public ComplexVector getRepresentation()
- Returns the representation.
dimension
public int dimension()
- Returns the dimension.
- Overrides:
- dimension in class Vector
norm
public double norm()
- Returns the norm.
- Overrides:
- norm in class Vector
All Packages Class Hierarchy This Package Previous Next Index