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

Function setRawCoeff

extensions/include/cuMat/src/Matrix.h:670–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668 * \param newValue the new value at that entry
669 */
670 __device__ CUMAT_STRONG_INLINE void setRawCoeff(Index index, const _Scalar& newValue)
671 {
672 CUMAT_ASSERT_CUDA(index >= 0);
673 CUMAT_ASSERT_CUDA(index < size());
674 data_.data()[index] = newValue;
675 }
676
677 /**
678 * \brief Access to the linearized coefficient, read-only.

Callers

nothing calls this directly

Calls 2

sizeFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected