search for: fotran

Displaying 7 results from an estimated 7 matches for "fotran".

Did you mean: fortran
2010 Jul 26
2
easy debugging
I am new to R. Used to use FORTRAN. R is so different from FORTRAN. The following codes would work in FOTRAN. I am trying to put an upper limit at 120. If the score is > 120, it is assigned 120. Or else, keep the original values. version 1: equated<-11 result<-11 equated<-c(111.0,112.06, 112.9, 113.8, 115.0, 116.2, 117.0, 118.0, 120.5, 120.5, 120.5) for (i in 1:11){ if (equated > 120) re...
2010 Aug 30
4
LOOping problem with R
...** IN FORTRAN, the results is totally different. program calculating_a implicit none integer i, j, k double precision a, theta(4) theta(1)=0.06; theta(2)=0.08; theta(3)=0.09; theta(4)=0 do i=1, 4 do j=1, 4 a=1 do k=i,j-1 a=a*theta(k) end do print*, a end do end do end Here goes the results with FOTRAN ------------------------------------------------------------------------------------- 1 0.06 4.79E-003 4.31E-004 1 1 0.08 7.2E-0.03 1 1 1 0.09 1 1 1 1 ----------------------------------------------------------------------------- Thank you! Nam [[alternative HTML version deleted]]
2009 Mar 27
0
Need some help at interfacing R with Fortran-90
...quot;. It seems to be written for experienced programmers rathern than for people who occasionally face this problem. A table summarising the main ley points for each supported platform would be very useful. Something like: Supported languages: C, Fortran-77, ...... Windows guidelines: 1. compie Fotran code with (commands) from (terminal / command line ... ?) 2. load compiled code with (commands) from (....) 3. call Fortran subroutine from R passing arguments .... Linux guidelines: 1. 2. 3. Unix guidelines: 1. 2. 3. Coming to my problem. I have 4 Fortran-90 subroutines. There is a "main&q...
2005 Nov 07
1
[LLVMdev] LLVM 1.6 Release Branch
...; >> I'm not getting the error with the configure script (on Kain, anyway). >> I've tried it with --with-f2c and with f96 (NAG Fortran compiler) in >> and out of my $PATH. > > > I get the error with and without the --with-f2c option. I never used the > NAG Fotran option. It works fine if I specifically use bash. Can you do a "cvs status configure" on your llvm-test configure script and make sure the sticky tag is release_16? Also, does the configure process halt? Or does it just give an error and keep going? > >> Can you verify tha...
2005 Nov 07
0
[LLVMdev] LLVM 1.6 Release Branch
...though (see previous email). > > I'm not getting the error with the configure script (on Kain, anyway). I've > tried it with --with-f2c and with f96 (NAG Fortran compiler) in and out of my > $PATH. I get the error with and without the --with-f2c option. I never used the NAG Fotran option. It works fine if I specifically use bash. > Can you verify that the configure script works for you without the --with-f2c > option? If it does, I think we'll just file a bug report and fix it in 1.7. It should have a bug filed. I can do that later or if you want to do it now....
2001 Sep 11
3
64-bit programming
Has R been ported to 64-bit platforms? E.g. as in FORTRAN when you define double precision number as: REAL*16 I have heard that some SUN computers already offer 64-bit architecture but I am unsure about the GNU support for that hardware. I am seeking increased accuracy in floating point operations. regards Helgi -- Helgi Tomasson FAX: 354-552-6806
2005 Nov 07
4
[LLVMdev] LLVM 1.6 Release Branch
Tanya Lattner wrote: > > Everything builds fine on sparc. The configure script needs to be fixed > though (see previous email). I'm not getting the error with the configure script (on Kain, anyway). I've tried it with --with-f2c and with f96 (NAG Fortran compiler) in and out of my $PATH. Can you verify that the configure script works for you without the --with-f2c option?