Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackreco/nanoflann.hpp>
Public Types | |
typedef T | ElementType |
typedef _DistanceType | DistanceType |
Public Member Functions | |
L2_Adaptor (const DataSource &_data_source) | |
DistanceType | operator() (const T *a, const size_t b_idx, size_t size, DistanceType worst_dist=-1) const |
template<typename U , typename V > | |
DistanceType | accum_dist (const U a, const V b, int) const |
Public Attributes | |
const DataSource & | data_source |
Squared Euclidean distance functor (generic version, optimized for high-dimensionality data sets). Corresponding distance traits: nanoflann::metric_L2
T | Type of the elements (e.g. double, float, uint8_t) |
_DistanceType | Type of distance variables (must be signed) (e.g. float, double, int64_t) |
Definition at line 323 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 323 of file nanoflann.hpp
typedef _DistanceType nanoflann::L2_Adaptor< T, DataSource, _DistanceType >::DistanceType |
Definition at line 326 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 326 of file nanoflann.hpp
typedef T nanoflann::L2_Adaptor< T, DataSource, _DistanceType >::ElementType |
Definition at line 325 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 325 of file nanoflann.hpp
|
inline |
Definition at line 330 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 330 of file nanoflann.hpp
|
inline |
Definition at line 366 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 366 of file nanoflann.hpp
References KFPMath::b.
|
inline |
Definition at line 335 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 335 of file nanoflann.hpp
References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::size(), and Acts::UnitConstants::T.
const DataSource& nanoflann::L2_Adaptor< T, DataSource, _DistanceType >::data_source |
Definition at line 328 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 328 of file nanoflann.hpp