OpenLB 1.7
|
Implements Euclidean norm for arrays. More...
Go to the source code of this file.
Namespaces | |
namespace | olb |
Top level namespace for all of OpenLB. | |
namespace | olb::util |
Functions | |
template<typename T > | |
T | olb::util::euklidN2 (const T x[], int dim) |
Squared Euclidean norm of an array. | |
template<typename T > | |
T | olb::util::euklidDistance2 (const T x[], const T y[], int dim) |
Squared Euclidean distance between two arrays. | |
template<typename T > | |
T | olb::util::euklidN (const T x[], int dim) |
Euclidean norm of an array. | |
template<typename T > | |
T | olb::util::euklidDistance (const T x[], const T y[], int dim) |
Euclidean distance between two arrays. | |
template<typename C > | |
auto | olb::util::euklidN2 (const C &x) |
Squared Euclidean norm for Container-type array. | |
template<typename C > | |
auto | olb::util::euklidDistance2 (const C &x, const C &y) |
Squared Euclidean distance for Container-type array. | |
template<typename C > | |
auto | olb::util::euklidN (const C &x) |
Euclidean norm for Container-type array. | |
template<typename C > | |
auto | olb::util::euklidDistance (const C &x, const C &y) |
Euclidean distance for Container-type array. | |
Implements Euclidean norm for arrays.
Definition in file norm.h.