Changeset 366


Ignore:
Timestamp:
Aug 5, 2005, 10:58:56 AM (16 years ago)
Author:
Peter
Message:

moved namespace random to its own directory

Location:
trunk
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r356 r366  
    8080     lib/Makefile
    8181     lib/gslapi/Makefile
     82     lib/random/Makefile
    8283     lib/utility/Makefile
    8384     lib/statistics/Makefile
  • trunk/lib/Makefile.am

    r334 r366  
    77INCLUDES = @local_includes@
    88
    9 SUBDIRS = gslapi statistics svm utility
     9SUBDIRS = gslapi random statistics svm utility
    1010
    1111lib_LTLIBRARIES = libc++_tools.la
     
    1515libc___tools_la_LIBADD = \
    1616  gslapi/libgslapi.la \
     17  random/librandom.la \
    1718  statistics/libstatistics.la \
    1819  svm/libsvm.la \
  • trunk/lib/random/Random.cc

    r365 r366  
    11// $Id$
    22
    3 #include <c++_tools/utility/Random.h>
     3#include <c++_tools/random/Random.h>
    44
    55namespace theplu {
  • trunk/lib/random/Random.h

    r365 r366  
    3939
    4040
     41  ///
     42  /// @brief continuous random distributions.
     43  /// Base for continuous random distributions.
     44  ///
    4145  class RandomContinuous
    4246  {
    4347  public:
    4448
     49    ///
     50    /// @brief Constructor
     51    ///
    4552    inline RandomContinuous(void) { rng_=RNG::instance(89); }
    4653
     
    5259
    5360
    54 
     61  ///
     62  /// @brief Uniform distribution
     63  ///
     64  /// Class for generating a random number from a flat distribution
     65  /// between zero and unity.
     66  ///
     67  /// Distribution function \f$ f(x) = 1 \f$ for \f$ 0 \le x < 1 \f$
     68  /// Expectation value: 0.5
     69  /// Variance: \f$ \frac{1}{12} \f$
     70  ///
    5571  class RandomContinuousUniform : public RandomContinuous
    5672  {
     
    114130
    115131  ///
    116   /// Base class for discrete random distributions.
     132  /// @brief discrete random distributions.
     133  /// Base for discrete random distributions.
    117134  ///
    118135  class RandomDiscrete
  • trunk/lib/utility/Makefile.am

    r362 r366  
    1010libutility_la_SOURCES = \
    1111  Alignment.cc FileIO.cc kNNI.cc Merge.cc NNI.cc PCA.cc\
    12   Random.cc random_singleton.cc stl_utility.cc SVD.cc utility.cc WeNNI.cc
     12  random_singleton.cc stl_utility.cc SVD.cc utility.cc WeNNI.cc
    1313
    1414include_utilitydir = $(includedir)/c++_tools/utility
     
    1616include_utility_HEADERS = \
    1717  Alignment.h Exception.h FileIO.h kNNI.h Merge.h NNI.h PCA.h \
    18   Random.h random_singleton.h stl_utility.h SVD.h utility.h WeNNI.h
     18  random_singleton.h stl_utility.h SVD.h utility.h WeNNI.h
    1919
Note: See TracChangeset for help on using the changeset viewer.