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

Function inplace

extensions/include/cuMat/src/SparseMatrix.h:398–401  ·  view source on GitHub ↗

* \brief Forces inplace assignment. * The only usecase is matrix.inplace() = expression * where the content's of matrix are overwritten inplace, even if the data is shared with * some other matrix instance. * Using the returned object in another context as directly as the left side of an assignment is * undefined behaviour. * The assignment will fail if the dim

Source from the content-addressed store, hash-verified

396 * \return an expression to force inplace assignment
397 */
398 internal::SparseMatrixInplaceAssignment<Type> inplace()
399 {
400 return internal::SparseMatrixInplaceAssignment<Type>(this);
401 }
402
403 // STATIC METHODS AND OTHER HELPERS
404 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected