edu.buffalo.fs7.mathlib
Class ExpMap

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

public class ExpMap
extends MathMap

Class representing the complex exp() function. It can operate on complex numbers and on quadratic matrices.

See Also:
MathMap, Parse

Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
ExpMap()
          creates the exp function
 
Method Summary
 MathObject apply(MathObject o)
          applies the exp function to either a complex number or a quadratic matrix.
 java.lang.String toString()
          returns string representation of the exp 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

ExpMap

public ExpMap()
creates the exp function
Method Detail

apply

public MathObject apply(MathObject o)
applies the exp function to either a complex number or a quadratic matrix. The exp for quadratic matrices is calculated in a power series which terminates if the norm of the k-th term is smaller eps.
Overrides:
apply in class MathMap
See Also:
Complex, Norm

toString

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