Transpose, reflect upper or lower triangle, apply mean value

The Transpose function allows lines and columns of a matrix to be interchanged, which means that the values of the rows become the values of the columns and vice versa. The resulting matrix consequently contains the values of the opposite direction of the input matrix, with unchanged values in the diagonal. This function is used, for example, to generate a matrix of the outgoing traffic from a matrix of the incoming traffic (Using Visum: Transposing the matrix values).

The function offers the option of copying the matrix section below the diagonal into the upper triangle (Using Visum: Reflecting the lower triangle of a matrix). The function offers the option of copying the matrix section above the diagonal into the lower triangle (Using Visum: Reflecting the upper triangle of a matrix).