|
Clustering
C++20 header-only: DBSCAN, HDBSCAN, k-means.
|
#include <array>#include <cmath>#include <cstddef>#include <utility>#include "clustering/ndarray.h"Go to the source code of this file.
Namespaces | |
| namespace | clustering |
| namespace | clustering::math |
Functions | |
| template<class T, std::size_t N, Layout LA, Layout LB> | |
| bool | clustering::math::arrayEqual (const NDArray< T, N, LA > &a, const NDArray< T, N, LB > &b) noexcept |
| Element-wise exact equality between two NDArrays of matching shape. | |
| template<class T, std::size_t N, Layout LA, Layout LB> | |
| bool | clustering::math::allClose (const NDArray< T, N, LA > &a, const NDArray< T, N, LB > &b, T rtol=T(1e-5), T atol=T(1e-8)) noexcept |
| Element-wise approximate equality with NumPy-style asymmetric tolerance. | |