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

Function setZero

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

STATIC METHODS AND OTHER HELPERS * \brief Sets all entries to zero. * Warning: this operation works in-place and therefore violates the copy-on-write paradigm. */

Source from the content-addressed store, hash-verified

406 * Warning: this operation works in-place and therefore violates the copy-on-write paradigm.
407 */
408 void setZero()
409 {
410 A_.setZero();
411 }
412
413#include "MatrixNullaryOpsPlugin.inl"
414};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected