search for: piee

Displaying 1 result from an estimated 1 matches for "piee".

Did you mean: piece
2012 Oct 20
1
Trouble returning 2D array into R from Fortran
...ine from another Fortan main program & it does work as expected, so the Fortran works, but my problem has been with the correct syntax for retrieving the output double array from within R. The wrapping Fortran subroutine is defined; subroutine xypos_parallax_r(k,year,ra,dec,ti,t0,tE,alpha,u0,piee,pien,y) k is the number of rows & y an assumed size double array, y(2,*), the other arguments are other input variables for the Fortran. I've tried putting the Fortran function call inside an R function, with this syntax; #Source positions in lens plane under annual parallax xypos_parall...