multiplyByValue method

DiscreteFieldFunction multiplyByValue(
  1. int value
)

Composes a function that multiplies, 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.

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

Parameters:

  • value — The value to multiply across the field.

Return Value: A function that multiplies a value with this function's field result.