| Modifier and Type | Method and Description | 
|---|---|
static double | 
checkDeterminantForInverse(double det)
Check that the given determinant is valid for use in calculating a matrix
 inverse. 
 | 
static double | 
checkElementForInverse(double element)
Check that the given matrix element is valid for use in calculation of
 a matrix inverse, throwing an  
IllegalStateException if not. | 
static double | 
determinant(double a00,
           double a01,
           double a10,
           double a11)
Compute the determinant of the 2x2 matrix represented by the given values. 
 | 
static double | 
determinant(double a00,
           double a01,
           double a02,
           double a10,
           double a11,
           double a12,
           double a20,
           double a21,
           double a22)
Compute the determinant of the 3x3 matrix represented by the given values. 
 | 
public static double determinant(double a00, double a01, double a10, double a11)
a00 - matrix entry a0,0a01 - matrix entry a0,1a10 - matrix entry a1,0a11 - matrix entry a1,1public static double determinant(double a00, double a01, double a02, double a10, double a11, double a12, double a20, double a21, double a22)
a00 - matrix entry a0,0a01 - matrix entry a0,1a02 - matrix entry a0,2a10 - matrix entry a1,0a11 - matrix entry a1,1a12 - matrix entry a1,2a20 - matrix entry a2,0a21 - matrix entry a2,1a22 - matrix entry a2,2public static double checkDeterminantForInverse(double det)
IllegalStateException is thrown if the determinant is
 NaN, infinite, or zero.det - the determinant to checkIllegalStateException - if the matrix determinant value is NaN, infinite,
      or zeropublic static double checkElementForInverse(double element)
IllegalStateException if not.element - matrix entry to checkIllegalStateException - if the element is not valid for use
      in calculating a matrix inverse, ie if it is NaN or infinite.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.