edu.buffalo.fs7.mathlib
Class RzMap

java.lang.Object
  |
  +--edu.buffalo.fs7.mathlib.MathObject
        |
        +--edu.buffalo.fs7.mathlib.MathMap
              |
              +--edu.buffalo.fs7.mathlib.RzMap
All Implemented Interfaces:
java.lang.Cloneable

public class RzMap
extends MathMap

function representing z-rotation operator in 2 dimensions. The matrix is of the form Rz(a) = [exp(-i*a/2) 0, 0 exp(i*a/2)]


Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
RzMap()
          constructs the one-map
 
Method Summary
 MathObject apply(MathObject o)
          the parameter given is the angle about which shall be rotated.
 java.lang.String toString()
          returns the string representation of the map
 
Methods inherited from class edu.buffalo.fs7.mathlib.MathObject
clone, toParseableString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RzMap

public RzMap()
constructs the one-map
Method Detail

apply

public MathObject apply(MathObject o)
the parameter given is the angle about which shall be rotated. Only the real part of the number is used.
Overrides:
apply in class MathMap
Parameters:
o - complex number c = a + i*0
Returns:
rotation matrix

toString

public java.lang.String toString()
returns the string representation of the map
Overrides:
toString in class MathObject
Following copied from class: edu.buffalo.fs7.mathlib.MathObject
See Also:
MathObject.toParseableString()