addFunction method

DiscreteFieldFunction addFunction(
  1. Int32Function value
)

Composes a function that adds, point-wise, a value to this function's field result across its extent.

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

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

Parameters:

  • value — A function that returns the value to add across the field.

Return Value: A function that adds a value to this function's field result.