| 95 | /** vector math with raw pointers (compatible to ceres jet type) */ |
| 96 | template <int Dim, typename T1, typename T2> |
| 97 | void VectorDifference(const T1* const Vector1, const T2* const Vector2, T1* Difference) |
| 98 | { |
| 99 | VectorRefConst<T1, Dim> V1(Vector1); |
| 100 | VectorRefConst<T2, Dim> V2(Vector2); |
| 101 | VectorRef<T1, Dim> Diff(Difference); |
| 102 | |
| 103 | Diff = V1 - V2; |
| 104 | } |
| 105 | |
| 106 | template <int Dim, typename T> |
| 107 | T VectorLength(const T* const Vector) |
nothing calls this directly
no outgoing calls
no test coverage detected