Skip to content

rem

Reminder after division

rem(A, B)

  • A and B should be arrays of the same sizes. It gives the reminders after dividing each element of A by the corresponding element of B.
  • If one of the input arguments is a scalar, this scalar would be expanded to a constant array having the same size as the other input argument.