MCPcopy Index your code
hub / github.com/arrayfire/arrayfire-rust / var_all

Function var_all

src/statistics/mod.rs:320–329  ·  view source on GitHub ↗
(input: &Array<T>, isbiased: bool)

Source from the content-addressed store, hash-verified

318/// A tuple of 64-bit floating point values that has the variance of `input` Array.
319#[deprecated(since = "3.8.0", note = "Please use var_all_v2 API")]
320pub fn var_all<T: HasAfEnum>(input: &Array<T>, isbiased: bool) -> (f64, f64) {
321 var_all_v2(
322 input,
323 if isbiased {
324 VarianceBias::SAMPLE
325 } else {
326 VarianceBias::POPULATION
327 },
328 )
329}
330
331macro_rules! stat_all_func_def {
332 ($doc_str: expr, $fn_name: ident, $ffi_fn: ident) => {

Callers

nothing calls this directly

Calls 1

var_all_v2Function · 0.85

Tested by

no test coverage detected