LIBINT  2.1.0-stable
Public Member Functions | List of all members
libint2::StdRandomizePolicy Class Reference

The shift parameter is computed as follows: delta = floor(nrrs*scale*random()/RAND_MAX) where nrrs is the number of possibilities, scale is the user-specified parameter. More...

#include <tactic.h>

Public Member Functions

 StdRandomizePolicy (double scale)
 
unsigned int noise (unsigned int nrrs) const
 

Detailed Description

The shift parameter is computed as follows: delta = floor(nrrs*scale*random()/RAND_MAX) where nrrs is the number of possibilities, scale is the user-specified parameter.


The documentation for this class was generated from the following file: