Displaying 1 result from an estimated 1 matches for "arsim_".
2002 May 30
1
problem of compile fortran program
...;_ARSIM",x,phi,n)
[[1]]
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
[[2]]
[1] 0.75
[[3]]
[1] 20
What's wrong? I don't know how to deal with it.
Any suggestions would be great appreciated.
Thanks in advance.
-------FORTRAN CODE: prog.f-------
SUBROUTINE ARSIM_(X,NDIM,PHI)
INTEGER NDIM
REAL X(NDIM),PHI
IF(NDIM.GT.1)THEN
DO 10 I=2,NDIM
X(I) = PHI*X(I-1)+X(I)
10 CONTINUE
ENDIF
RETURN
END
----------------------------
> R.version
_
platform i386-pc-mingw32
arch i386...