Home
last modified time | relevance | path

Searched refs:det (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DMatrix4f.java437 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[1] + in inverse() local
440 if (Math.abs(det) < 1e-6) { in inverse()
444 det = 1.0f / det; in inverse()
446 mMat[i] = result.mMat[i] * det; in inverse()
465 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[4] + in inverseTranspose() local
468 if (Math.abs(det) < 1e-6) { in inverseTranspose()
472 det = 1.0f / det; in inverseTranspose()
474 mMat[i] = result.mMat[i] * det; in inverseTranspose()
/frameworks/base/graphics/java/android/renderscript/
DMatrix4f.java437 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[1] + in inverse() local
440 if (Math.abs(det) < 1e-6) { in inverse()
444 det = 1.0f / det; in inverse()
446 mMat[i] = result.mMat[i] * det; in inverse()
465 float det = mMat[0]*result.mMat[0] + mMat[4]*result.mMat[4] + in inverseTranspose() local
468 if (Math.abs(det) < 1e-6) { in inverseTranspose()
472 det = 1.0f / det; in inverseTranspose()
474 mMat[i] = result.mMat[i] * det; in inverseTranspose()
/frameworks/rs/
DrsMatrix4x4.cpp63 float det = m[0]*result.m[0] + m[4]*result.m[1] + in inverse() local
66 if (fabs(det) < 1e-6) { in inverse()
70 det = 1.0f / det; in inverse()
72 m[i] = result.m[i] * det; in inverse()
104 float det = m[0]*result.m[0] + m[4]*result.m[4] + in inverseTranspose() local
107 if (fabs(det) < 1e-6) { in inverseTranspose()
111 det = 1.0f / det; in inverseTranspose()
113 m[i] = result.m[i] * det; in inverseTranspose()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java218 final float det = in invertM() local
221 if (det == 0.0f) { in invertM()
226 final float invdet = 1.0f / det; in invertM()