Template Function librapid::dist(const SIMDVector<Scalar, Dims>&, const SIMDVector<Scalar, Dims>&)#
Defined in File simdVector.hpp
Function Documentation#
-
template<typename Scalar, int64_t Dims>
Scalar librapid::dist(const SIMDVector<Scalar, Dims> &lhs, const SIMDVector<Scalar, Dims> &rhs)# Calculate the distance between two vectors
- Template Parameters
Scalar – The scalar type of the vectors
Dims – The dimensionality of the vectors
- Parameters
lhs – The first vector
rhs – The second vector
- Returns
The distance between the two vectors