File DET.FT (FORTRAN source file)

Directory of image this file is from
This file as a plain text file

	FUNCTION DET(DUMMY)
C BERECHNET DETERMINATE VON B - DIMENSION N<=16
C MATRIX B : B11,B21,B31,...,BNN IN COMMON
C AUFRUF Z.B. : BDET=DET(DUMMY)
C FORTRAN II
	COMMON N,A,B
	DIMENSION A(272),B(256)
	DET=B(1)
	DO 1005 K=2,N
	MC=K-1+N*(K-2)
	MD=K+N*(K-1)
	DO 1004 I=K,N
	DO 1004 J=K,N
	L=I+N*(J-1)
	MA=I+N*(K-2)
	MB=K-1+N*(J-1)
	IF(B(MC))1003,1001,1003
1001	DET=0.
	GOTO 1008
1003	B(L)=B(L)-B(MA)*B(MB)/B(MC)
1004	CONTINUE
	DET=DET*B(MD)
	IF(DET)1005,1008,1005
1005	CONTINUE
1008	RETURN
	END



Feel free to contact me, David Gesswein djg@pdp8online.com with any questions, comments on the web site, or if you have related equipment, documentation, software etc. you are willing to part with.  I am interested in anything PDP-8 related, computers, peripherals used with them, DEC or third party, or documentation. 

PDP-8 Home Page   PDP-8 Site Map   PDP-8 Site Search