`tri_swap()` is an internal helper function used to flip the sides of a matrix

tri_swap(m)

Arguments

m

- Matrix

Value

- Matrix