MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / operator-

Function operator-

extensions/include/cuMat/src/Iterator.h:127–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 /// Subtraction
126 template <typename Distance>
127 __host__ __device__ CUMAT_STRONG_INLINE self_type operator-(Distance n) const
128 {
129 self_type retval = *this;
130 retval.index_ -= n;
131 return retval;
132 }
133
134 /// Subtraction assignment
135 template <typename Distance>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected