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

Method setRawCoeff

extensions/include/cuMat/src/MatrixBlock.h:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 * \param newValue the new value at that index
136 */
137 __device__ CUMAT_STRONG_INLINE void setRawCoeff(Index idx, const _Scalar& newValue)
138 {
139 //This method is quite ineffective at the moment, since it has to convert the values back to row,col,batch
140 Index i, j, k;
141 index(idx, i, j, k);
142 coeff(i, j, k, -1) = newValue;
143 }
144
145 /**
146 * \brief Access to the linearized coefficient, read-only.

Callers 13

assignMethod · 0.45
assignFunction · 0.45
setRawCoeffFunction · 0.45
storeMethod · 0.45
storeMethod · 0.45
storeMethod · 0.45
storeMethod · 0.45
storeMethod · 0.45
storeMethod · 0.45
storeMethod · 0.45
DeterminantKernelFunction · 0.45
InverseKernelWithDetFunction · 0.45

Calls 2

indexFunction · 0.70
coeffFunction · 0.70

Tested by

no test coverage detected