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

Method UnaryOp

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

Source from the content-addressed store, hash-verified

55
56public:
57 explicit UnaryOp(const MatrixBase<_Child>& child, const _UnaryFunctor& functor = _UnaryFunctor())
58 : child_(child.derived()), functor_(functor)
59 {}
60
61 __host__ __device__ CUMAT_STRONG_INLINE Index rows() const { return child_.rows(); }
62 __host__ __device__ CUMAT_STRONG_INLINE Index cols() const { return child_.cols(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected