[][src]Function arrayfire::var_all

pub fn var_all<T: HasAfEnum>(input: &Array<T>, 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.