%

x % y -- a binary operator used for remainder and reduction.

The user may install binary methods for this operator with code such as

              X % Y := (x,y) -> ...
where X is the class of x and Y is the class of y .

Examples:

  • x % y -- remainder obtained upon dividing x by y
  • Matrix % Matrix -- reduction
  • See also / and //.

    Go to main index.

    Go to concepts index.