R/v0_tools.R
matrixdiagcopy.Rd
Copy the upper matrix triangle to the lower one
matrixdiagcopy(.mat)
Matrix.
Matrix with its upper tri part copied to the lower tri part.
mat <- matrix(0, 3, 3) mat mat(1, 3) <- 1 mat <- immunarch:::matrixdiagcopy(mat) mat