[−][src]Function arrayfire::var_v2
pub fn var_v2<T>(
arr: &Array<T>,
bias_kind: VarianceBias,
dim: i64
) -> Array<T::MeanOutType> where
T: HasAfEnum,
T::MeanOutType: HasAfEnum,
Compute Variance along a specific dimension
Parameters
arr
is the input Arraybias_kind
of type VarianceBias denotes the type of variane to be computeddim
is the dimension along which the variance is extracted
Return Values
Array with variance of input Array arr
along dimension dim
.