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

Function rand

source/matplot/util/common.cpp:307–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305 }
306
307 double rand(double lower_bound, double upper_bound) {
308 std::uniform_real_distribution<double> d(lower_bound, upper_bound);
309 return d(detail::default_generator());
310 }
311
312 std::vector<double> rand(size_t n, double lower_bound, double upper_bound) {
313 std::vector<double> x(n);

Callers 15

binscatterMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 3

beginMethod · 0.80
endMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected