[][src]Function arrayfire::var_weighted

pub fn var_weighted<T, W>(
    input: &Array<T>,
    weights: &Array<W>,
    dim: i64
) -> Array<T::MeanOutType> where
    T: HasAfEnum,
    T::MeanOutType: HasAfEnum,
    W: HasAfEnum + RealFloating

Weight variance along specified dimension

Parameters

Return Values

An Array whose size is equal to input except along the dimension which the stat operation is performed. Array size along dim will be reduced to one.