Macaulay2 Engine
Loading...
Searching...
No Matches

◆ copy()

template<typename Mat>
virtual MutableMat * MutableMat< Mat >::copy ( bool prefer_dense) const
inlinevirtual

Implements MutableMatrix.

Definition at line 309 of file mutablemat-defs.hpp.

310 {
311#if 0
313 Mat *m = mat.copy();
314 result->mat.grab(m);
315 return result;
316#endif
318 return clone();
319 }
virtual MutableMat * clone() const

References clone(), mat, MutableMat(), and result().