[−][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
arris the input Arraybias_kindof type VarianceBias denotes the type of variane to be computeddimis the dimension along which the variance is extracted
Return Values
Array with variance of input Array arr along dimension dim.