OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Vektor.h
Go to the documentation of this file.
1 #ifndef OPAL_VEKTOR_HH
2 #define OPAL_VEKTOR_HH
3 
4 #include "AppTypes/Vektor.h"
5 
7 
9 
10 inline
12  return sqrt(dot(a,a));
13 }
14 
15 #endif
double dot(const Vector3D &lhs, const Vector3D &rhs)
Vector dot product.
Definition: Vector3D.cpp:118
Vektor< double, 3 > Vector_t
Definition: Vektor.h:6
Tps< T > sqrt(const Tps< T > &x)
Square root.
Definition: TpsMath.h:91
T euclidean_norm(const Vector< T > &)
Euclidean norm.
Definition: Vector.h:243