• A and B should be arrays of the same sizes.
• It gives the remainder of a divided by b, where a and b are elements of A and B, respectively.
• It gives the same result as rem(A, B).