|
template<typename T > |
bool | OpenMD::equal (T e1, T e2) |
|
template<typename Real , unsigned int Dim> |
Vector< Real, Dim > | OpenMD::operator- (const Vector< Real, Dim > &v1) |
| unary minus
|
|
template<typename Real , unsigned int Dim> |
Vector< Real, Dim > | OpenMD::operator+ (const Vector< Real, Dim > &v1, const Vector< Real, Dim > &v2) |
| Return the sum of two vectors (v1 - v2).
|
|
template<typename Real , unsigned int Dim> |
Vector< Real, Dim > | OpenMD::operator- (const Vector< Real, Dim > &v1, const Vector< Real, Dim > &v2) |
| Return the difference of two vectors (v1 - v2).
|
|
template<typename Real , unsigned int Dim> |
Vector< Real, Dim > | OpenMD::operator* (const Vector< Real, Dim > &v1, Real s) |
| Returns the vaule of scalar multiplication of this vector v1 (v1 * r).
|
|
template<typename Real , unsigned int Dim> |
Vector< Real, Dim > | OpenMD::operator* (Real s, const Vector< Real, Dim > &v1) |
| Returns the vaule of scalar multiplication of this vector v1 (v1 * r).
|
|
template<typename Real , unsigned int Dim> |
Vector< Real, Dim > | OpenMD::operator/ (const Vector< Real, Dim > &v1, Real s) |
| Returns the value of division of a vector by a scalar.
|
|
template<typename Real , unsigned int Dim> |
Real | OpenMD::dot (const Vector< Real, Dim > &v1, const Vector< Real, Dim > &v2) |
| Returns the dot product of two Vectors.
|
|
template<typename Real , unsigned int Dim> |
Real | OpenMD::dot (const Vector< Real, Dim > &v1, const Vector< Real, Dim > &v2, const Vector< Real, Dim > &v3) |
| Returns the wide dot product of three Vectors.
|
|
template<typename Real , unsigned int Dim> |
Real | OpenMD::distance (const Vector< Real, Dim > &v1, const Vector< Real, Dim > &v2) |
| Returns the distance between two Vectors.
|
|
template<typename Real , unsigned int Dim> |
Real | OpenMD::distanceSquare (const Vector< Real, Dim > &v1, const Vector< Real, Dim > &v2) |
| Returns the squared distance between two Vectors.
|
|
template<typename Real , unsigned int Dim> |
std::ostream & | OpenMD::operator<< (std::ostream &o, const Vector< Real, Dim > &v) |
| Write to an output stream.
|
|
- Author
- Teng Lin
- Date
- 09/14/2004
- Version
- 1.0
Definition in file Vector.hpp.