MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / asDiagonal

Method asDiagonal

extensions/include/cuMat/src/UnaryOps.h:332–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330 using MatrixType = _VectorType;
331
332 static __host__ __device__ CUMAT_STRONG_INLINE MatrixType asDiagonal(const _VectorType& v)
333 {
334 return v; //default implementation
335 }
336 };
337
338 template<typename _Child>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected