MCPcopy Create free account
hub / github.com/davisking/dlib / rnd_num

Function rnd_num

dlib/test/matrix3.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89 template <typename type>
90 type rnd_num (dlib::rand& rnd)
91 {
92 return static_cast<type>(10*rnd.get_random_double());
93 }
94
95 template <typename type>
96 void test_blas( long rows, long cols)

Callers

nothing calls this directly

Calls 1

get_random_doubleMethod · 0.80

Tested by

no test coverage detected