Changeset 3615 in Sophya for trunk/SophyaProg/Tests/zthr.cc


Ignore:
Timestamp:
May 1, 2009, 1:34:31 PM (16 years ago)
Author:
cmv
Message:

Modifs relatives a l'introduction de RandomGeneratorInterface + delete de srandgen.c, cmv 01/05/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/zthr.cc

    r3451 r3615  
    1010#include "matharr.h"
    1111#include "tarrinit.h"
    12 #include "stsrand.h"
     12#include "randr48.h"
    1313
    1414#include <stdlib.h>
     
    6363void randgenths(Array& mx, double sig)
    6464{
    65   RandomGenerator rg;
     65  ThSDR48RandGen rg;
    6666  for(sa_size_t j=0; j<mx.SizeY(); j++)   
    6767    for(sa_size_t i=0; i<mx.SizeX(); i++) mx(i,j) = rg.Gaussian(sig);   
Note: See TracChangeset for help on using the changeset viewer.