Class QuasiLinearThetaMap

java.lang.Object
ffx.numerics.func1d.QuasiLinearThetaMap
All Implemented Interfaces:
UnivariateDiffFunction

public class QuasiLinearThetaMap extends Object implements UnivariateDiffFunction
A QuasiLinearThetaMap implements a map of theta[-pi, +pi] to lambda[0,1] in a mostly-linear fashion (i.e. rectangular sampling of theta produces roughly rectangular sampling of lambda).
Author:
Jacob M. Litman, Michael J. Schnieders
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a QuasiLinearThetaMap with a theta0 of 0.1.
    QuasiLinearThetaMap(double theta0)
    Constructs a QuasiLinearThetaMap which is roughly V-shaped from [-pi,+pi], is periodic, and uses trigonometric functions to spline between the linear ranges (theta0-pi, -theta0), (+theta0, pi-theta0) and the trigonometric interpolating regions [-pi, theta0-pi], [-theta0,+theta0] and [pi-theta0, pi].
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    firstDerivative(double x)
    First derivative at a point.
    double
    nthDerivative(double x, int order)
    N'th order derivative at a point.
    double
    secondDerivative(double x)
    Second derivative at a point.
    double
    valueAt(double x)
    Value at a point

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait