[R] .fortran code
Shubha Vishwanath Karanth
shubhak at ambaresearch.com
Fri Feb 8 07:05:22 CET 2008
Hi Ravi,
...In the same fashion, I was trying to look at wilder.f of 'wilderSum' command of the TTR package. I even googled for the keyword, "wilder.f wilderSum" or " subroutine wilder", but did not find anything useful.
Also I did not get when you said " So,you can look at these files if you had installed the source code". Where to look at these files(without going to google)...is there anything which I need to install more?
BR, Shubha
Shubha Karanth | Amba Research
Ph +91 80 3980 8031 | Mob +91 94 4886 4510
Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com
-----Original Message-----
From: Ravi Varadhan [mailto:rvaradhan at jhmi.edu]
Sent: Thursday, February 07, 2008 8:56 PM
To: Shubha Vishwanath Karanth; r-help at stat.math.ethz.ch
Subject: RE: [R] .fortran code
If you look at the source code for eigen() you will notice that the .Fortran
calls a subroutine named either "rs.f" or "rg.f" depending on whether your
matrix is real and symmetric or real and asymmetric, respectively. So, you
can look at these files if you had installed the source code. Even if you
had not installed the full source, you can google using keywrods "rs.f
eigenvalue" or "rg.f eigenvalue" to see the Fortran code for these functions
available from EISPACK. However, I am not sure how illuminating that would
be since rs.f and rg.f are just calling routines that each calls a number of
other subroutines. So, unless you are willing to spend a great deal of
time, you may not be any wiser at the end of all this.
Ravi.
----------------------------------------------------------------------------
-------
Ravi Varadhan, Ph.D.
Assistant Professor, The Center on Aging and Health
Division of Geriatric Medicine and Gerontology
Johns Hopkins University
Ph: (410) 502-2619
Fax: (410) 614-9625
Email: rvaradhan at jhmi.edu
Webpage: http://www.jhsph.edu/agingandhealth/People/Faculty/Varadhan.html
----------------------------------------------------------------------------
--------
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Shubha Vishwanath Karanth
Sent: Thursday, February 07, 2008 9:42 AM
To: r-help at stat.math.ethz.ch
Subject: [R] .fortran code
Hi,
I need to look/understand what the ".fortran()" doing in say, the source
code of the "eigen" command. How do I look into this?
Thanks,
Shubha
This e-mail may contain confidential and/or privileged i...{{dropped:13}}
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
This e-mail may contain confidential and/or privileged i...{{dropped:10}}
More information about the R-help
mailing list