Matrix function ( Matrix arg0 ) { return ( transpose ( cofactor ( arg0 ) ) . multiplyByConstant ( 1.0 / determinant ( arg0 ) ) ) ; }
inverse of a matrix - a-1 a = i where i is the identity matrix a matrix that have inverse is called non-singular or invertible . if the matrix does not have inverse it is called singular . for a singular matrix the values of the inverted matrix are either nan or infinity only square matrices have inverse and the following method will throw exception if the matrix is not square . concode_field_sep PlaceHolder placeHolder concode_field_sep int changeSign concode_elem_sep Matrix add concode_elem_sep Matrix cofactor concode_elem_sep Matrix subtract concode_elem_sep Matrix transpose concode_elem_sep Matrix multiply concode_elem_sep Matrix createSubMatrix concode_elem_sep double determinant