OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Algorithms
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
6
typedef
Vektor<double, 3>
Vector_t
;
7
9
10
inline
11
double
euclidean_norm
(
Vector_t
a) {
12
return
sqrt
(
dot
(a,a));
13
}
14
15
#endif
Vektor< double, 3 >
Vektor.h
dot
double dot(const Vector3D &lhs, const Vector3D &rhs)
Vector dot product.
Definition:
Vector3D.cpp:118
Vector_t
Vektor< double, 3 > Vector_t
Definition:
Vektor.h:6
sqrt
Tps< T > sqrt(const Tps< T > &x)
Square root.
Definition:
TpsMath.h:91
euclidean_norm
T euclidean_norm(const Vector< T > &)
Euclidean norm.
Definition:
Vector.h:243
Generated on Sat Jan 4 2020 14:47:52 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5