Documentation of 'jsci.physics.quantum.BraVector' Java class
BraVector
jsci.physics.quantum

Class BraVector

    • Constructor Detail

      • BraVector

        public BraVector(AbstractComplexVector rep)
        Constructs a bra vector given a vector representation.
        Parameters:
        rep - a vector representation
    • Method Detail

      • equals

        public boolean equals(java.lang.Object a)
        Compares two bra vectors for equality.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        a - a bra vector
      • toString

        public java.lang.String toString()
        Returns a comma delimited string representing the value of this bra vector.
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Returns a hashcode for this bra vector.
        Overrides:
        hashCode in class java.lang.Object
      • toKetVector

        public KetVector toKetVector()
        Map this bra vector to a ket vector.
      • norm

        public double norm()
        Returns the norm.
        Specified by:
        norm in class MathVector
      • getSet

        public java.lang.Object getSet()
      • scalarMultiply

        public Module.Member scalarMultiply(Ring.Member x)
        Returns the multiplication of this bra vector by a scalar.
        Parameters:
        x - a ring member
      • multiply

        public Complex multiply(KetVector ket)
        Returns the multiplication of this bra vector and a ket vector.
        Parameters:
        ket - a ket vector
        Throws:
        VectorDimensionException - If the vectors have different dimensions.
      • multiply

        public BraVector multiply(Operator op)
        Returns the multiplication of this bra vector and an operator.
        Parameters:
        op - an operator
        Throws:
        DimensionException - If the operator and vector have different dimensions.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.