Matrix function ( Matrix arg0 ) { Matrix loc0 = new Matrix ( arg0 . getNrows ( ) , arg0 . getNcols ( ) ) ; for ( int loc1 = 0 ; loc1 < arg0 . getNrows ( ) ; loc1 ++ ) { for ( int loc2 = 0 ; loc2 < arg0 . getNcols ( ) ; loc2 ++ ) { loc0 . setValueAt ( loc1 , loc2 , changeSign ( loc1 ) * changeSign ( loc2 ) * determinant ( createSubMatrix ( arg0 , loc1 , loc2 ) ) ) ; } } return loc0 ; }
the cofactor of a matrix concode_field_sep PlaceHolder placeHolder concode_field_sep int changeSign concode_elem_sep Matrix add concode_elem_sep Matrix inverse 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