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

Function assign

extensions/include/cuMat/src/CwiseOp.h:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 matrix.rawCoeff(index) op1 value; \
31 } \
32 static __device__ CUMAT_STRONG_INLINE void assign(M& matrix, V value, Index index, std::integral_constant<int, AccessFlags::RWCwise>) /*read-write access*/ \
33 { \
34 matrix.setRawCoeff(index) = matrix.getRawCoeff(index) op2 value; \
35 } \
36 static __device__ CUMAT_STRONG_INLINE void assign(M& matrix, V value, Index index, std::integral_constant<int, AccessFlags::RWCwiseRef | AccessFlags::RWCwise>) /*both is possible, use reference*/ \
37 { \
38 matrix.rawCoeff(index) op1 value; \

Callers 15

CwiseOp.hFile · 0.70
evalMethod · 0.70
TransposeOpClass · 0.70
evalToImplMethod · 0.70
evalToImplDirectMethod · 0.70
SparseMatrix.hFile · 0.70
assignMethod · 0.70
evalImplMethod · 0.70
CwiseCSREvaluationKernelFunction · 0.70
CwiseCSCEvaluationKernelFunction · 0.70

Calls 2

getRawCoeffMethod · 0.80
setRawCoeffMethod · 0.45

Tested by

no test coverage detected