Ignore:
Timestamp:
Oct 11, 2006, 7:49:03 PM (16 years ago)
Author:
Jari Häkkinen
Message:

Addresses #153. Introduced yat namespace. Removed alignment namespace. Clean up of code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/random/random.cc

    r675 r680  
    2222*/
    2323
    24 #include "yat/random/random.h"
     24#include "random.h"
    2525#include "yat/statistics/Histogram.h"
    2626
     
    2828#include <iostream>
    2929
    30 
    3130namespace theplu {
     31namespace yat {
    3232namespace random {
    33 
    3433
    3534  RNG* RNG::instance_ = NULL;
     
    4342
    4443
    45 
    4644  RNG::~RNG(void)
    4745  {
     
    5048    delete instance_;
    5149  }
    52 
    5350
    5451 
     
    7067
    7168
    72 
    7369  int RNG::set_state(const RNG_state& state)
    7470  {
    7571    return gsl_rng_memcpy(rng_, state.rng());
    7672  }
    77 
    7873
    7974
     
    8479 
    8580
    86 
    8781  RNG_state::~RNG_state(void)
    8882  {
     
    9084    rng_=NULL;
    9185  }
    92 
    9386
    9487
     
    10396
    10497
    105 
    10698  DiscreteGeneral::~DiscreteGeneral(void)
    10799  {
     
    111103  }
    112104
    113 
    114 }} // of namespace random and namespace theplu
     105}}} // of namespace random, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.