Some simple functors to calculate various norms. More...
#include <cmath>
Go to the source code of this file.
Classes | |
class | ecl::EuclideanNorm |
Functor for euclidean norms. More... | |
Namespaces | |
ecl | |
Embedded control libraries. | |
Functions | |
template<typename T > | |
T | ecl::euclidean_norm (const T &x1, const T &x2) |
Function for euclidean norms of dimension 2. More... | |
template<typename T > | |
T | ecl::euclidean_norm (const T &x1, const T &x2, const T &x3) |
Function for euclidean norms of dimension 3. More... | |
Some simple functors to calculate various norms.
These aren't meant to be all encompassing, rather just a few oft used functions that always seem to crop up. Use eigen for more complicated functionalities.
Definition in file norms.hpp.