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

Function var

src/api/cpp/var.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace af {
22
23array var(const array& in, const bool isbiased, const dim_t dim) {
24 const af_var_bias bias =
25 (isbiased ? AF_VARIANCE_SAMPLE : AF_VARIANCE_POPULATION);
26 return var(in, bias, dim);
27}
28
29array var(const array& in, const af_var_bias bias, const dim_t dim) {
30 af_array temp = 0;

Callers

nothing calls this directly

Calls 8

getFNSDFunction · 0.85
af_var_v2Function · 0.50
arrayClass · 0.50
af_var_weightedFunction · 0.50
af_var_all_v2Function · 0.50
af_var_all_weightedFunction · 0.50
getMethod · 0.45
dimsMethod · 0.45

Tested by

no test coverage detected