mod

(number mod number) 🡒 number, const autodiff operator

The keyword mod returns the remainder of the integer division. Both numbers are expected to be non-negative.

table T = with
  [| as A |]
  [| 3 |]
  [| 0  |]
  [| 1  |]
  [| 2  |]

T.B = 2

show table "" a1b4 with
  T.A
  T.B
  T.A mod T.B
User Contributed Notes
0 notes + add a note