First  |  Prev |  Next  |  Last
Pages: 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
SuperKISS for 32- and 64-bit RNGs in both C and Fortran.
On Nov 3 I posted RNGs: A Super KISS sci.math, comp.lang.c, sci.crypt a KISS (Keep-It-Simple-Stupid) RNG combining, by addition mod 2^32, three simple RNGs: CMWC(Complementary-Multiply-With-Carry)+CNG(Congruential) +XS(Xorshift) with resulting period greater than 10^402575. The extreme period com... 1 Dec 2009 02:50
allocatable function return
Hi all, Is it legal or sensible to declare (array) function results as allocatable? I was curious, as I'm implementing a Fortran compiler, and I had the idea that functions such as "size" needn't actually evaluate the expression. Anyway, using "allocatable" for a function argument implies that a function would a... 25 Nov 2009 18:20
%LOC and %VAL availability
The non-standard %LOC() and %VAL() constructs are available in the Intel Fortran and Compaq Fortran compilers that I have (32-bit, WinXP). Are these constructs available in other compilers such as gfortran, f95, etc? What about linux, mac, etc.? If not, is there a workaround for this functionality? I am writing a p... 29 Nov 2009 09:02
Parallel computing introductory text
What would be a good introductory text on the subject of parallel computing currect capabilities of fortran, for someone who has no knowledge of the matter? It would be nice if it had some simple examples which could be demonstated on today's home computers (multi processor, or multi core) (meaning, not purely t... 24 Nov 2009 13:21
have I shown something here?
There's been an elsethread discussion of a skewing of floating point values around .5. I've been dinking with this since last night and wonder what it is that this program shows: implicit none INTEGER, PARAMETER :: SP=SELECTED_REAL_KIND(6,37) INTEGER, PARAMETER :: DP=SELECTED_REAL_KIND(15,307) REAL(KIND=... 24 Nov 2009 23:25
doesn't wait the batch finished and cause error reading.
Hi I use IVF 11.0.075. Hi, everybody program main USE IFPORT I = SYSTEMQQ('del fort.86') I = SYSTEM('Process.bat') !This 'Process.bat' will output fort.86 open(11,file='fort.86',status='old',form='binary') do j=1,100 read(11,end=1)x print *,x enddo 1 stop end In 23 Nov 2009 19:45
Convert CDF to ASCII format
Hello Friends, I want to convert some data files which are in '.cdf' format to usual ASCII format for processing purpose. Can any body help me how to do it through fortran 90/95. Thanks in advance. Praveen. ... 20 Nov 2009 04:33
f95 to windows dll
On 18 nov, 03:22, Clark <c...(a)> wrote: I've run across some f95 code that appears useful for one of my problems. It compiles and executes just fine using gfortran on a windows box. I'd really like to access the routines directly from Excel using VBA which means (at least to me) that I'd like to... 19 Nov 2009 03:56
Random number generators
Hi, I have a question regarding the subroutine RANDOM_NUMBER, does it generate a list of uniformly distributed numbers, between 0 and 1, and an average of 0.5? Which other intrinsic random number generating subroutines are available for Fortran 90, for other distributions? (I found that the function rand() do... 27 Nov 2009 20:00
pointer and allocatable arrays
Hi, I would like to know the difference between the following statements in fortran 90. REAL, POINTER, DIMENSION (:,:) :: A REAL, ALLOCATABLE, DIMENSION (:,:) :: A I presume both are the same. But I just wanted to make it sure. Thank you Raj. R ... 18 Nov 2009 11:09
First  |  Prev |  Next  |  Last
Pages: 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65