commons-math-interpolation / Utils / createDomainRestrictedUniFunction
function createDomainRestrictedUniFunction( f, xMin, xMax ): UniFunction;
Defined in: Utils.ts:235
Wraps a function in another function that returns NaN when the argument is outside the domain xMin ... xMax.
NaN
xMin ... xMax
UniFunction
The function to be wrapped.
number
The lower bound of the domain (inclusive).
The upper bound of the domain (inclusive).
A function that returns f(x) for xMin <= x <= xMax and otherwise NaN, including when x is NaN.
f(x)
xMin <= x <= xMax
x
There was an error while loading. Please reload this page.