Ops
is a group generic function,
which includes all functions in the
Arith
,
Compare
, and
Logic
group generic functions.
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.
# The Ops group of generic functions includes: # Arithmetic: +, -, *, /, ^, %/%, %% # Comparison: >, <, >=, <=, ==, !=, compare # Logical: !, &, | # See also .Uminus and xor