median(x: number): number
Median value of array.
Computes the median (middle value) of an array or matrix. For even-length arrays, returns the average of the two middle values. For matrices, operates along specified dimension.
median(x: array,dim?: 0 | 1,): number
Median value of array.
Computes the median (middle value) of an array or matrix. For even-length arrays, returns the average of the two middle values. For matrices, operates along specified dimension.
x: array
Input number, array, or matrix
median(x: matrix,dim?: 0 | 1,): array
Median value of array.
Computes the median (middle value) of an array or matrix. For even-length arrays, returns the average of the two middle values. For matrices, operates along specified dimension.
x: matrix
Input number, array, or matrix
Median values