UniformRandomPoint< N, T > Class Template Reference
[Functor: UniformRandom]

Uniform random points in N-D. More...

#include <UniformRandom.h>

List of all members.

Public Types

typedef T Number
 The number type.
typedef void argument_type
 Since this is a generator, the argument type is void.
typedef ads::FixedArray< N,
Number
result_type
 The result type is a Cartesian point in N-D.

Public Member Functions

 UniformRandomPoint ()
 Default constructor.
 UniformRandomPoint (const result_type &min, const result_type &max)
 Construct from the lower and upper bounds.
 UniformRandomPoint (const result_type &min, const result_type &max, const unsigned int n)
 Construct from the lower and upper bounds and a seed.
 UniformRandomPoint (const UniformRandomPoint &x)
 Copy constructor.
UniformRandomPointoperator= (const UniformRandomPoint &other)
 Assignment operator.
 ~UniformRandomPoint ()
 Destructor.

const result_typemin () const
 Return the lower bound of the interval.
const result_typemax () const
 Return the upper bound of the interval.
const result_typeoperator() () const
 Return a random point in the closed interval [min() .. max()].

Detailed Description

template<int N, typename T = double>
class UniformRandomPoint< N, T >

Uniform random points in N-D.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3