search for: model_par

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

Did you mean: model_a
2012 Oct 20
1
Trouble returning 2D array into R from Fortran
...& 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_parallax <- function(year,ra,dec,ti,model_par) { if (!is.loaded('xypos_parallax_r')){ dyn.load('parallax.so')} returned_data = .Fortran('xypos_parallax_r', as.integer(length(ti)), as.integer(year), as.double(ra), as.double(dec),...