Professional Documents
Culture Documents
do i=1,100
do j=1,100
array(i,j)=0
in(i,j)=0
enddo
temp1(i)=0
temp2(i)=0
enddo
! /* converting inverse matrix to identity matrix */
do i=1,n
in(i,i)=1
enddo
! /* calculating inverse */
i=1;j=1;k=0;l=0;o=0
do while(i < (n+1))
if(array(i,j) == 0)then
z=i; l=j
do k=z,n
if(array(k,l) .ne. 0)then
if(bl==1)then
i = i - 1
endif
bl=0
j=j+1
i=i+1
end do
endsubroutine