Collaboration diagram for Binary operators:
|Addition and subtraction|
|Operators that add or subtract one object from another. |
|Operators that multiply a matrix or vector by a scalar. |
|Operators methods that multiply one object by another. |
|Operators that compute the dot product between two objects. |
These operators extend the normal functionality of the C++ math library to matrices and vectors. Their functionality is actually provided by a bunch of C-style functions. Code written in terms of operators is generally much easier to interpret mathematically.