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.

Constructor Index

 o BraVector(ComplexVector)
Constructs a bra vector given a vector representation.

Method Index

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

Constructors

 o BraVector
  public BraVector(ComplexVector rep)
Constructs a bra vector given a vector representation.
Parameters:
rep - a vector representation

Methods

 o equals
  public boolean equals(Object a)
Compares two bra vectors for equality.
Parameters:
a - a bra vector
Overrides:
equals in class Object
 o clone
  public Object clone()
Creates a clone of this bra vector.
Returns:
a copy of this bra vector.
Overrides:
clone in class Object
 o toString
  public String toString()
Returns a comma delimited string representing the value of this bra vector.
Overrides:
toString in class Object
 o hashCode
  public int hashCode()
Returns a hashcode for this bra vector.
Overrides:
hashCode in class Object
 o toKetVector
  public KetVector toKetVector()
Map this bra vector to a ket 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