Quotient & Remainder
Computes the integer quotient and the remainder of the inputs. This function rounds floor(x/y) to the nearest integer towards -inf.
Warning : Two new tensors is created for the outputs.
x : class, n-dimensional tensor.
y : class, n-dimensional tensor.
x-y*floor(x/y) : class, is the remainder. This corresponds to the modulo function of text-based programming languages. When y is 1, the remainder is the fractional part of x.
floor(x/y) : class, is the integer quotient. When y is 1, the quotient is the integer part of x.
All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).