MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / cnd

Function cnd

test/rng_quality.cpp:143–143  ·  view source on GitHub ↗

should be used only for x <= 5 (roughly)

Source from the content-addressed store, hash-verified

141
142// should be used only for x <= 5 (roughly)
143array cnd(array x) { return 0.5 * erfc(-x * sqrt(0.5)); }
144
145template<typename T>
146bool testRandomEngineNormalChi2(randomEngineType type)

Callers 1

Calls 2

erfcFunction · 0.85
sqrtFunction · 0.85

Tested by

no test coverage detected