afp_var_all

Find the variance of all elements in the input.

Arguments

  1. Input array, values
  2. Integer, 1 - sample variance, 2 - population variance

Output

Resulting value

Examples

afp_var_all