[−][src]Function arrayfire::var
pub fn var<T>(arr: &Array<T>, isbiased: bool, dim: i64) -> Array<T::MeanOutType> where
T: HasAfEnum,
T::MeanOutType: HasAfEnum,
👎 Deprecated since 3.8.0:
Please use var_v2 API
Compute Variance along a specific dimension
Parameters
arr
is the input Arrayisbiased
is boolean denoting population variance(False) or Sample variance(True)dim
is the dimension along which the variance is extracted
Return Values
Array with variance of input Array arr
along dimension dim
.