var_all_v2

Function var_all_v2 

Source
pub fn var_all_v2<T: HasAfEnum>(
    input: &Array<T>,
    bias_kind: VarianceBias,
) -> (f64, f64)
Expand description

Compute Variance of all elements

§Parameters

  • input is the input Array
  • bias_kind of type VarianceBias denotes the type of variane to be computed

§Return Values

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