mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
15 lines
253 B
FortranFixed
15 lines
253 B
FortranFixed
|
SUBROUTINE DAAT(A,X,N)
|
||
|
**
|
||
|
** X = AT * A
|
||
|
REAL*8 A(N,N),X(N,N),R
|
||
|
DO 20 I=1,N
|
||
|
DO 20 J=1,N
|
||
|
R=0.
|
||
|
DO 10 K=1,N
|
||
|
R=R+A(I,K)*A(J,K)
|
||
|
10 CONTINUE
|
||
|
X(I,J)=R
|
||
|
20 CONTINUE
|
||
|
RETURN
|
||
|
END
|