Subtract

Node Icon

Subtract two inputs with broadcasting. You can subtract any two supported inputs of the same type, and numbers can be subtracted from all types.

Inputs

Upper

First input.

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

Lower

Second input.

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

Outputs

Output

Resulting subtraction. 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

Subtract

Value Array

Value to subtract 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: