File UniqueRandomNumbersGenerator.h¶
- Copyright
This code is licensed under the 3-clause BSD license.
Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.
See LICENSE.txt for details.
-
namespace
Scine
This header file contains functions that allow for common notation for common things that can be done at a different degree of derivatives.
This header contains alias definitions defining which classes to use for the different degrees of derivatives.
-
namespace
Utils
-
template<class
IntegerType
>
classUniqueRandomNumbersGenerator
- #include <UniqueRandomNumbersGenerator.h>
Class to sample without replacement N numbers from a range bounded by min_ and max_.
The user gives a minimum number and a maximum number as the boundaries of a range of possible numbers. Upon calling the UniqueRandomNumbersGenerator::generate(unsigned N) function, N values are sampled without replacement from the possible values.
-
template<class
-
namespace