Copy the upper matrix triangle to the lower one

matrixdiagcopy(.mat)

Arguments

.mat

Matrix.

Value

Matrix with its upper tri part copied to the lower tri part.