Ignore:
Timestamp:
Nov 5, 2008, 10:36:48 PM (13 years ago)
Author:
Peter
Message:

fixes #459

File:
1 edited

Legend:

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

    r1614 r1616  
    3131#include <algorithm>
    3232#include <string>
     33#include <vector>
    3334
    3435namespace theplu {
     
    275276    DiscreteGeneral(const statistics::Histogram& hist);
    276277   
     278    /**
     279       \brief Copy constructor
     280
     281       \since Explicitely implemented in yat 0.5
     282     */
     283    DiscreteGeneral(const DiscreteGeneral&);
     284
    277285    ///
    278286    /// @brief Destructor
     
    290298    unsigned long operator()(void) const;
    291299
    292   private:
    293      gsl_ran_discrete_t* gen_;
     300    /**
     301       \brief Assignment operator
     302
     303       \since Explicitely implemented in yat 0.5
     304     */
     305    DiscreteGeneral& operator=(const DiscreteGeneral&);
     306
     307  private:
     308    void free(void);
     309    void preproc(void);
     310
     311    gsl_ran_discrete_t* gen_;
     312    std::vector<double> p_;
    294313  };
    295314
Note: See TracChangeset for help on using the changeset viewer.