edu.buffalo.fs7.mathlib
Class SqrtMap

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

public class SqrtMap
extends MathMap

sqrt map for complex arguments


Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
SqrtMap()
          constructs the sqrt map
 
Method Summary
 MathObject apply(MathObject o)
          applies the sqrt map to a complex number
 java.lang.String toString()
          string representation of 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

SqrtMap

public SqrtMap()
constructs the sqrt map
Method Detail

apply

public MathObject apply(MathObject o)
applies the sqrt map to a complex number
Overrides:
apply in class MathMap
Parameters:
o - complex number
Returns:
sqrt in complex form

toString

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