Scythe-1.0.3
template<matrix_order ORDER1, matrix_order ORDER2, typename T , typename S , matrix_order SO, matrix_style SS, matrix_order DO, matrix_style DS>
void scythe::copy ( const Matrix< T, SO, SS > &  source,
Matrix< S, DO, DS > &  dest 
)

Copy the contents of one Matrix into another.

This function copies the contents of one Matrix into another, traversing each Matrix in the order specified by the template terms ORDER1 and ORDER2. This function requires an explicit template call that specifies ORDER1 and ORDER2.

Parameters:
sourceThe Matrix to copy.
destThe Matrix to copy into.

Referenced by cbind(), copy_recycle(), operator>>(), rbind(), selif(), unique(), and vech().