edu.buffalo.fs7.mathlib
Class OneMap

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

public class OneMap
extends MathMap

function generating a identity matrix for a given dimension.


Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
OneMap()
          constructs the one-map
 
Method Summary
 MathObject apply(MathObject o)
          the dimension of the identity matrix to be generated must be given in the real part of a complex number.
 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

OneMap

public OneMap()
constructs the one-map
Method Detail

apply

public MathObject apply(MathObject o)
the dimension of the identity matrix to be generated must be given in the real part of a complex number.
Overrides:
apply in class MathMap
Parameters:
o - complex number c = dim + i*0
Returns:
identity matrix of given dimension

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()