Package ffx.numerics.switching


@ParametersAreNonnullByDefault package ffx.numerics.switching
The Switching package implements univariate switching functions.
Since:
1.0
Author:
Michael J. Schnieders
  • Class
    Description
    Implements a bell-shaped switching function by stitching together a pair of MultiplicativeSwitches. f(midpoint - 0.5*width) = 0, f(midpoint) = 1, f(midpoint + 0.5*width) = 0.
    The CompositeSwitch uses a primary switch in the middle, and then two secondary switches at the ends of the path to smoothly switch to the primary switch.
    The ConstantSwitch returns a constant value for all input values x.
    A LinearDerivativeSwitch interpolates between 0 and 1 vi f(x) = 2*x - x^2.
    The 6 coefficients of the multiplicative polynomial switch are unique given the distances "a" and "b".
    A PowerSwitch interpolates between 0 and 1 vi f(x) = (ax)^beta, where x must be between 0 and 1/a.
    A SquaredTrigSwitch implements a 0-1 switch of form f(x) = sin^2(ax) or of form f(x) = cos^2(ax).
    Static class responsible for parsing String arrays into univariate switching functions.
    A UnivariateSwitchingFunction describes a function of a single value (often lambda), where f(lb) = 0, f(ub) = 1, and df(x)/dx >= 0 for all x lb-ub.