MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / RandomValue

Method RandomValue

pose_graph/ThirdParty/DUtils/Random.h:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 */
54 template <class T>
55 static T RandomValue() {
56 return (T)rand() / (T)RAND_MAX;
57 }
58
59 /**
60 * Returns a random number in the range [min..max]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected