vec_math
Class Phasing.PhaseFunction

java.lang.Object
  extended by vec_math.Phasing
      extended by vec_math.Phasing.PhaseFunction
All Implemented Interfaces:
Function, Inverse, VariableDepending
Enclosing class:
Phasing

public static class Phasing.PhaseFunction
extends Phasing
implements Inverse

This is the function version of it.


Nested Class Summary
 
Nested classes/interfaces inherited from class vec_math.Phasing
Phasing.PhaseFunction, Phasing.PhaseMultidimensional
 
Field Summary
 
Fields inherited from class vec_math.Phasing
FREQUENCY, PERIOD, T0
 
Constructor Summary
Phasing.PhaseFunction()
           
 
Method Summary
 double evaluate(double t)
          We evaluate by phasing the argument with Phasing.phase(double).
 double invert(double phi)
          We invert by dephasing.
 
Methods inherited from class vec_math.Phasing
dephase, phase, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Phasing.PhaseFunction

public Phasing.PhaseFunction()
Method Detail

evaluate

public double evaluate(double t)
We evaluate by phasing the argument with Phasing.phase(double).

Specified by:
evaluate in interface Function

invert

public double invert(double phi)
We invert by dephasing. This is a true inversion only if the definition space of the original function is 0-period.

Specified by:
invert in interface Inverse