divideByValue method

DiscreteFieldFunction divideByValue(
  1. int value
)

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

The function result has no data where this function's field result has no data, or if the divisor is zero.

Result values will be rounded towards zero.

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

Parameters:

  • value — The value to divide across the field.

Return Value: A function that divides this function's field result by a value.