Function copy

A convenience function that creates a copy of the input matrix. Memory for the copy is allocated using the GC.

MatrixView!(T,stor,tri) copy(T, Storage stor, Triangle tri) (
  const MatrixView!(T,stor,tri) m
) pure;