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

Function randn

source/matplot/util/common.cpp:262–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 } // namespace detail
261
262 double randn(double mean, double stddev) {
263 std::normal_distribution<double> d(mean, stddev);
264 return d(detail::default_generator());
265 }
266
267 std::vector<double> randn(size_t n, double mean, double stddev) {
268 std::vector<double> x(n);

Callers 15

data_stringMethod · 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 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected