MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / randi

Function randi

source/matplot/util/common.cpp:296–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 }
295
296 int randi(int imin, int imax) {
297 std::uniform_int_distribution<int> d(imin, imax);
298 return d(detail::default_generator());
299 }
300
301 std::vector<int> randi(size_t n, int imin, int imax) {
302 std::vector<int> x(n);

Callers 1

mainFunction · 0.85

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected