Java tutorial
//package com.java2s; //License from project: Apache License import android.opengl.Matrix; public class Main { public static boolean invertM(float[] output, float[] input) { if (input == output) { return false; } return Matrix.invertM(output, 0, input, 0); } }