edu.buffalo.fs7.mathlib
Class SinMap

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

public class SinMap
extends MathMap

Class representing the real sin() function. It can operate on complex numbers, but only takes the real part.

See Also:
MathMap, Parse

Fields inherited from class edu.buffalo.fs7.mathlib.MathObject
mathlib
 
Constructor Summary
SinMap()
          creates the exp function
 
Method Summary
 MathObject apply(MathObject o)
          applies the real sin function to the real part of the complex number given as an argument
 java.lang.String toString()
          returns string representation of the sin 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

SinMap

public SinMap()
creates the exp function
Method Detail

apply

public MathObject apply(MathObject o)
applies the real sin function to the real part of the complex number given as an argument
Overrides:
apply in class MathMap
See Also:
Complex, Norm

toString

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