Collaboration diagram for Binary operators:
|
Modules | |
| Addition and subtraction | |
| Operators that add or subtract one object from another. | |
| Scalar multiplication | |
| Operators that multiply a matrix or vector by a scalar. | |
| Multiplication | |
| Operators methods that multiply one object by another. | |
| Dot products | |
| Operators that compute the dot product between two objects. | |
| Input/output operators | |
Operators (<< and >>) that put or get objects to and from streams. | |
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.
1.4.4