vec_math
Interface Inverse

All Superinterfaces:
Function
All Known Implementing Classes:
JulianDate, ModifiedJulianDate, Phasing.PhaseFunction, TruncatedJulianDate

public interface Inverse
extends Function

An inverse function can calculate its argument from the function value. There is no requirement for a function to be globally inversable to implement this interface, e.g. the Inverse of Math.sin is allowed to be Math.asin, though some information is lost.


Method Summary
 double invert(double y)
          Calculates the argument value for the given function evaluation.
 
Methods inherited from interface vec_math.Function
evaluate
 

Method Detail

invert

double invert(double y)
Calculates the argument value for the given function evaluation. If y=f.evaluate(x), then f.inverse(y) returns x.