Operators for Arithmetic, Comparison, and Logic

DESCRIPTION:

Ops is a group generic function, which includes all functions in the Arith , Compare , and Logic group generic functions.

DETAILS:

Methods can be written for the whole group or individual functions for arbitrary classes. That is, you can write a method for any or all of the functions in the group, or write a single method for the group as a whole.

SEE ALSO:

, for details on the default arithmetic operators, , for details on the default comparison operators, , , , , , , and individual functions listed below.

EXAMPLES:

# The Ops group of generic functions includes: 
#   Arithmetic:  +, -, *, /, ^, %/%, %% 
#   Comparison:  >, <, >=, <=, ==, !=, compare 
#   Logical:     !, &, | 
# See also .Uminus and xor