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

Function VectorDifference

include/VectorMath.h:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected