powFunction method

ContinuousFieldFunction powFunction(
  1. FloatFunction power
)

Composes a function that returns this function's field result raised to a power across its extent.

A null value is interpreted as no data. The function result has no data where the power or this function's field result has no data.

The function result has no data where this function's field result is less than or equal to 0.

The function result extent equals that of this function's field result.

Parameters:

  • power — A function that returns the power to raise by.

Return Value: A function that returns this function's field result raised to a power across its extent.