Function arrayfire::var_all [] [src]

pub fn var_all(input: &Array, isbiased: bool) -> (f64, f64)

Compute Variance of all elements

Parameters

  • input is the input Array
  • isbiased is boolean denoting population variance(False) or sample variance(True)

Return Values

A tuple of 64-bit floating point values that has the variance of input Array.