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

Function stdev

src/api/cpp/stdev.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30template<>
31AFAPI af_cfloat stdev(const array& in, const af_var_bias bias) {
32 double real, imag;
33 AF_THROW(af_stdev_all_v2(&real, &imag, in.get(), bias));
34 return {static_cast<float>(real), static_cast<float>(imag)};
35}
36
37template<>
38AFAPI af_cdouble stdev(const array& in, const af_var_bias bias) {

Callers

nothing calls this directly

Calls 6

getFNSDFunction · 0.85
af_stdev_all_v2Function · 0.50
af_stdev_v2Function · 0.50
arrayClass · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected