Dear S+ users,
I am trying to call a Rational Fortran subroutine "dmudr" written for
smoothing spline with "dyn.load" and ".Fortran" in S+. The input for "dmudr"
includes: a vector, a matrix (n*m) and an array (n*n*2). There is no problem
with loading of "dmudr". But when running it, I couldn't get the correct
results though "dmudr" runs well in Fortan.
I constructed the array in S+ as:
array(c(Q_1, Q_2), dim=c(n, n, 2))
where Q_1, Q_2 are both n*n matrices, and then passed to "dmudr". I checked
the matrices and vector and the programs many times and couldn't figure out
what's going on.
Can someone please tell me wether I made the array correctly, and what may
cause the problems? Thank you very much!
I am using Splus 3.4 on Unix
Regards,
Chunlei Ke
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|