Method

NumCosmoMathVectormemcpy2

Declaration [src]

void
ncm_vector_memcpy2 (
  NcmVector* cv1,
  const NcmVector* cv2,
  const guint cv1_start,
  const guint cv2_start,
  const guint size
)

Description [src]

This function copies size components of the vector cv2, counting from cv2_start, to the vector cv1, starting from the cv1_start component. It is useful for vectors with different sizes.

Parameters

cv2

Type: NcmVector

A constant NcmVector.

The data is owned by the caller of the method.
cv1_start

Type: const guint

Component of cv1.

cv2_start

Type: const guint

Component of cv2.

size

Type: const guint

Number of components.