@Implementation public boolean invert(Matrix inverse) { final SimpleMatrix inverseMatrix = mMatrix.invert(); if (inverseMatrix != null) { if (inverse != null) { final ShadowMatrix shadowInverse = (ShadowMatrix) ShadowExtractor.extract(inverse); shadowInverse.mMatrix = inverseMatrix; } return true; } return false; }