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

Method getRawCoeff

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

Source from the content-addressed store, hash-verified

151 * \return the entry at that index
152 */
153 __device__ CUMAT_STRONG_INLINE _Scalar getRawCoeff(Index idx) const
154 {
155 //This method is quite ineffective at the moment, since it has to convert the values back to row,col,batch
156 Index i, j, k;
157 index(idx, i, j, k);
158 return coeff(i, j, k, -1);
159 }
160
161 /**
162 * \brief Access to the linearized coefficient, read-only.

Callers 9

assignFunction · 0.80
linearToCoordsMethod · 0.80
coordsToLinearMethod · 0.80
linearToCoordsMethod · 0.80
coordsToLinearMethod · 0.80
coeffFunction · 0.80
SparseMatrix.hFile · 0.80

Calls 2

indexFunction · 0.70
coeffFunction · 0.70

Tested by

no test coverage detected