Remainder

Node Icon

Calculate the elementwise remainder with broadcasting. The remainder is the amount “left over” after performing elementwise division, i.e. the remainder of \(\frac{5}{2}=1\).

Inputs

Upper

The dividend.

Type: Column, Image, Numeric Array, List, Required, Single

Lower

The divisor.

Type: Column, Image, Numeric Array, List, Required, Single

Outputs

Output

Resulting remainder. The output type is determined by the input types. If one input is an Image or a Column, the output will be an Image or a Column, respectively. If both inputs are Numbers type, the output will be a Numeric Array type.

Type: Column, Image, Numeric Array, List

Settings

Divisor

Value Array

Value to divide with if lower input is not connected.

Value Type Selection

Specify value type of Value.

Values: Integer32, Integer64, Float32, Float64, Complex64, Complex128

Image Settings

Metadata Source Selection

Select the source for the output metadata. This is only applicable if the output is an image.

Values: Upper, Lower

Column Settings

Column Name Text

Set the name of the output column.

Broadcast Settings

Broadcasting Selection

Select how to align the input data for broadcasting. Only applicable for Image and Numeric Array.

Values: Align Leading Dimensions, Align Trailing Dimensions

See also

Keywords: