n2p2 - A neural network potential package
|
#include <cstddef>
#include <utility>
#include <cmath>
#include <stdexcept>
Go to the source code of this file.
Classes | |
struct | nnp::Vec3D |
Vector in 3 dimensional real space. More... | |
Namespaces | |
namespace | nnp |
Functions | |
Vec3D | nnp::operator+ (Vec3D lhs, Vec3D const &rhs) |
Overload + operator to implement vector addition. | |
Vec3D | nnp::operator- (Vec3D lhs, Vec3D const &rhs) |
Overload - operator to implement vector subtraction. | |
Vec3D | nnp::operator- (Vec3D v) |
Overload - operator to implement vector sign change. | |
Vec3D | nnp::operator* (Vec3D v, double const a) |
Overload * operator to implement multiplication with scalar. | |
Vec3D | nnp::operator* (Vec3D const (&A)[3], Vec3D v) |
Overload * operator to implement (left) multiplication with a matrix. | |
Vec3D | nnp::operator/ (Vec3D v, double const a) |
Overload / operator to implement division by scalar. | |
Vec3D | nnp::operator* (double const a, Vec3D v) |
Overload * operator to implement multiplication with scalar (scalar first). | |