MCPcopy Create free account
hub / github.com/ArashPartow/exprtk / randu

Method randu

exprtk_simple_example_19.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 using exprtk::igeneric_function<T>::operator();
39
40 randu()
41 : exprtk::igeneric_function<T>("V|VTT")
42 /*
43 Overloads:
44 0. V - vector
45 1. VTT - vector, r0, r1
46 */
47 { ::srand(static_cast<unsigned int>(time(NULL))); }
48
49 inline T operator()(const std::size_t& ps_index, parameter_list_t parameters)
50 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected