#include <cstddef>
#include <utility>
#include <cmath>
#include <stdexcept>
Go to the source code of this file.
|
Vec3D | nnp::operator+ (Vec3D lhs, Vec3D const &rhs) |
| Overload + operator to implement vector addition. More...
|
|
Vec3D | nnp::operator- (Vec3D lhs, Vec3D const &rhs) |
| Overload - operator to implement vector subtraction. More...
|
|
Vec3D | nnp::operator- (Vec3D v) |
| Overload - operator to implement vector sign change. More...
|
|
Vec3D | nnp::operator* (Vec3D v, double const a) |
| Overload * operator to implement multiplication with scalar. More...
|
|
Vec3D | nnp::operator* (Vec3D const (&A)[3], Vec3D v) |
| Overload * operator to implement (left) multiplication with a matrix. More...
|
|
Vec3D | nnp::operator/ (Vec3D v, double const a) |
| Overload / operator to implement division by scalar. More...
|
|
Vec3D | nnp::operator* (double const a, Vec3D v) |
| Overload * operator to implement multiplication with scalar (scalar first). More...
|
|