Method
NumCosmoMathMatrixmemcpy_to_colmajor
Declaration [src]
void
ncm_matrix_memcpy_to_colmajor (
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. The elements are written in cm1
in column-major order order.
All column-major methods should be used carefully, they are inconsistent with most other methods and are used mainly to interface with Fortran sub-routines.
Parameters
cm2-
Type:
NcmMatrixA
NcmMatrix.The data is owned by the caller of the method.