Ignore:
Timestamp:
Jun 9, 2010, 5:44:05 AM (11 years ago)
Author:
Peter
Message:

make DiscreteUniform? adaptable. closes #629

File:
1 edited

Legend:

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

    r2154 r2268  
    327327     Variance: \f$ \frac{1}{12}(n-1)(n+1) \f$
    328328  */
    329   class DiscreteUniform : public Discrete
     329  class DiscreteUniform
     330    : public Discrete,
     331      public std::unary_function<unsigned long, unsigned long>
    330332  {
    331333  public:
Note: See TracChangeset for help on using the changeset viewer.