[][src]Function arrayfire::meanvar

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

Calculate mean and variance in single API call


Return Values

A tuple of Arrays, 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.