OmniGraph Node omni.graph.nodes.Modulo

omni.graph.nodes.Modulo Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Modulo

__categories

math:operator

Generated Class Name

OgnModuloDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.Modulo Description

Computes the modulo of integer inputs (A % B), which is the remainder of A / B If B is zero, the result is zero. If A and B are both non-negative the result is non-negative, otherwise the sign of the result is undefined.

omni.graph.nodes.Modulo Inputs

Name

Type

Default

Required?

Descripton

inputs:a

[‘int’, ‘int64’, ‘uchar’, ‘uint’, ‘uint64’]

None

Y

The dividend of (A % B)

uiName

A

inputs:b

[‘int’, ‘int64’, ‘uchar’, ‘uint’, ‘uint64’]

None

Y

The divisor of (A % B)

uiName

B

omni.graph.nodes.Modulo Outputs

Name

Type

Default

Required?

Descripton

outputs:result

[‘int’, ‘int64’, ‘uchar’, ‘uint’, ‘uint64’]

None

Y

Modulo (A % B), the remainder of A / B

uiName

Result