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

Function af_var

src/api/c/var.cpp:187–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187af_err af_var(af_array* out, const af_array in, const bool isbiased,
188 const dim_t dim) {
189 const af_var_bias bias =
190 (isbiased ? AF_VARIANCE_SAMPLE : AF_VARIANCE_POPULATION);
191 return af_var_v2(out, in, bias, dim);
192}
193
194af_err af_var_v2(af_array* out, const af_array in, const af_var_bias bias,
195 const dim_t dim) {

Callers

nothing calls this directly

Calls 1

af_var_v2Function · 0.70

Tested by

no test coverage detected