Definitions of distance metrics. More...
#include <cmath>#include "dense/BLASLAPACKWrapper.hpp"

Go to the source code of this file.
Namespaces | |
| strumpack | |
Functions | |
| template<typename scalar_t , typename real_t = typename RealType<scalar_t>::value_type> | |
| real_t | strumpack::Euclidean_distance_squared (std::size_t d, const scalar_t *x, const scalar_t *y) |
| template<typename scalar_t , typename real_t = typename RealType<scalar_t>::value_type> | |
| real_t | strumpack::Euclidean_distance (std::size_t d, const scalar_t *x, const scalar_t *y) |
| template<typename scalar_t , typename real_t = typename RealType<scalar_t>::value_type> | |
| real_t | strumpack::norm1_distance (std::size_t d, const scalar_t *x, const scalar_t *y) |
Definitions of distance metrics.