Function arrayfire::median [] [src]

pub fn median(input: &Array, dim: i64) -> Array

Median along specified dimension

Parameters

  • input is the input Array
  • dim is dimension along which the current stat has to be computed

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.