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

Function deepClone

extensions/include/cuMat/src/SparseMatrixBase.h:77–86  ·  view source on GitHub ↗

* \return a deep clone of this sparsity pattern */

Source from the content-addressed store, hash-verified

75 * \return a deep clone of this sparsity pattern
76 */
77 SparsityPattern<SparseFlags::CSC> deepClone() const
78 {
79 SparsityPattern<SparseFlags::CSC> clone;
80 clone.nnz = nnz;
81 clone.rows = rows;
82 clone.cols = cols;
83 clone.IA = IA.deepClone();
84 clone.JA = JA.deepClone();
85 return clone;
86 }
87};
88
89template<>

Callers

nothing calls this directly

Calls 1

deepCloneMethod · 0.45

Tested by

no test coverage detected