A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/distribution_8cpp_source.html below:

NCBI C++ ToolKit: src/util/distribution.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

44

CRangeListImpl::TRangeVector::const_iterator random_range =

47  int

diff = random_range->second - random_range->first;

49  return

diff <= 0 ? random_range->first :

50

random_range->first + (random_number % (diff + 1));

CRangeListImpl::TRangeVector m_RangeVector

unsigned GetNextValue() const

Uint4 TValue

Type of the generated integer value and/or the seed value.

TValue GetRand(void)

Get the next random number in the interval [0..GetMax()] (inclusive)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4