Method

NumCosmoMathMatrixmemcpy

Declaration [src]

void
ncm_matrix_memcpy (
  NcmMatrix* cm1,
  const NcmMatrix* cm2
)

Description [src]

This function copies the elements of the matrix cm2 into the matrix cm1. The two matrices must have the same size.

Parameters

cm2

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the method.