Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hummus
  • Content: Threads
  • Order by date
  1. hummus

    Code taking too long to execute

    Hi all, I wrote this code with random numbers that is taking too long to produce its output (probably due to the high number of random numbers being used). Any help to streamline the code would be appreciated. Thank you. [code] PROGRAM Monte Carlo IMPLICIT NONE INTEGER :: i, nrandoms, iseed...
  2. hummus

    Help checking Binning Code Array

    Hi, I want to be able to read numbers inputed from a user into an array (Neutrons), and then add a count to an appropriate bin. The code is below. I want to make sure that the array I am using (Neutrons(1000)) which stores the inputed numbers is used correctly in the code. PROGRAM Binning...
  3. hummus

    Help with random number test

    Hi, I am making a program that generates random numbers between 0 and 1, and then displays the number of randoms in each appropriate bin (the bin sizes are 0.05). I'm thinking that I would use something like "bin1 ++" to add a count to the bin, but I'm not sure. My code is below. I am using...
  4. hummus

    Rebinning Data

    Hi, I need help in constructing a Fortran program that will rebin the following data. Here is what I need to do: -I need to construct the data so that for every 5 bins(0-.5,.5-1,1-1.5, etc.) the total sum of the counts for the 5 bins are displayed. -Also the average error, which equals...

Part and Inventory Search

Back
Top