Method
NumCosmoMathMatrixset_identity
Declaration [src]
void
ncm_matrix_set_identity (
NcmMatrix* cm
)
Description [src]
This function sets the elements of the matrix cm to the corresponding elements of the identity matrix,
i.e. a unit diagonal with all off-diagonal elements zero. This applies to both square and rectangular matrices.