Java tutorial
//package com.java2s; import android.opengl.Matrix; public class Main { public static float[] transposeMatrix(float[] m) { float[] mTrans = new float[m.length]; Matrix.transposeM(mTrans, 0, m, 0); return mTrans; } }