| 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> |
nothing calls this directly
no outgoing calls
no test coverage detected