Show / Hide Table of Contents

Method Remainder

Remainder(float)

Composes a function that applies a remainder operation, point-wise, to this function's field result.

Declaration
public ContinuousFieldFunction Remainder(float divisor)
Parameters
Type Name Description
float divisor

The divisor.

Returns
Type Description
ContinuousFieldFunction

A function that applies a remainder operation to this function's field result.

Remarks

The function result has no data where this function's field result has no data.

The function result has no data when the divisor is zero.

The sign of this function's field result is preserved. For example, 7 remainder 3 (or -3) will result in 1 and -7 remainder 3 (or -3) will result in -1.

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

Applies to

Platforms and versions
TargetVersions
.NET300.1
.NET Windows300.1
.NET Android300.1
.NET iOS300.1

Remainder(ContinuousFieldFunction)

Composes a function that applies a remainder operation, point-wise, to this function's field result using values from another field as the divisors across their spatial intersection.

Declaration
public ContinuousFieldFunction Remainder(ContinuousFieldFunction otherField)
Parameters
Type Name Description
ContinuousFieldFunction otherField

The continuous field function to draw the divisors from.

Returns
Type Description
ContinuousFieldFunction

A function that applies a remainder operation, point-wise, to this function's field result using values from another field as the divisors across their spatial intersection.

Remarks

The function result has no data where either of the fields have no data.

The function result has no data where the divisor drawn from the other field is zero.

The sign of this function's field result is preserved. For example, 7 remainder 3 (or -3) will result in 1 and -7 remainder 3 (or -3) will result in -1.

The function result extent is the intersection of the extents of the given fields.

The spatial reference of both fields must be equivalent.

Applies to

Platforms and versions
TargetVersions
.NET300.1
.NET Windows300.1
.NET Android300.1
.NET iOS300.1
In this article
Provide feedback
Back to top Copyright © 2025 Esri.