[go: up one dir, main page]

Module ops

Source
Expand description

Operators traits and structures.

Structs§

Additive
The addition operator, commonly symbolized by +.
Multiplicative
The multiplication operator, commonly symbolized by ×.

Traits§

Add
The addition operator +.
Div
The division operator /.
Inverse
Trait used to define the inverse element relative to the given operator.
Mul
The multiplication operator *.
Neg
The unary negation operator -.
Op
Trait implemented by types representing operators.
Recip
The multiplicative inverse operation
Rem
The remainder operator %.
Sub
The subtraction operator -.

Functions§

inv
Returns the inverse of m, relative to the operator _o.