ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
random.h File Reference
#include <chrono>
#include <memory>
#include <random>
#include <thread>
#include "util/logging.h"
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 colmap
 

Functions

void colmap::SetPRNGSeed (unsigned seed)
 
template<typename T >
colmap::RandomInteger (const T min, const T max)
 
template<typename T >
colmap::RandomReal (const T min, const T max)
 
template<typename T >
colmap::RandomGaussian (const T mean, const T stddev)
 
template<typename T >
void colmap::Shuffle (const uint32_t num_to_shuffle, std::vector< T > *elems)
 

Variables

static int colmap::kDefaultPRNGSeed = 0