MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / VectorDistance

Function VectorDistance

include/VectorMath.h:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119 template <int Dim, typename T1, typename T2>
120 T1 VectorDistance(const T1* const Vector1, const T2* const Vector2)
121 {
122 T1 Difference[Dim];
123 VectorDifference<Dim, T1, T2>(Vector1, Vector2, Difference);
124 return VectorLength<Dim, T1>(Difference);
125 }
126
127 /** test matrix against semi-definitiveness */
128 template <int Dim>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected