public Matrix4f transpose() {
        float[] tmp = new float[16];
        get(tmp, true);
        Matrix4f mat = new Matrix4f(tmp);
        return mat;
    }
Generate the transpose.

@return a new Matrix4f with the rows and columns transposed
jme3-core/src/main/java/com/jme3/math/Matrix4f.java