Return the determinant of this matrix. @return the determinant
()
| 1287 | * @return the determinant |
| 1288 | */ |
| 1289 | public double determinant() { |
| 1290 | return (m00 * m11 - m01 * m10) * (m22 * m33 - m23 * m32) - (m00 * m12 - m02 * m10) * (m21 * m33 - m23 * m31) + (m00 * m13 - m03 * m10) * (m21 * m32 - m22 * m31) + (m01 * m12 - m02 * m11) * (m20 * m33 - m23 * m30) - (m01 * m13 - m03 * m11) * (m20 * m32 - m22 * m30) + (m02 * m13 - m03 * m12) * (m20 * m31 - m21 * m30); |
| 1291 | } |
| 1292 | |
| 1293 | /** |
| 1294 | * Return the determinant of the upper left 3x3 submatrix of this matrix. |