brainpy.math.msort#
- brainpy.math.msort(a)[source]#
Return a copy of an array sorted along the first axis.
- Parameters:
a (array_like) – Array to be sorted.
- Returns:
sorted_array – Array of the same type and shape as a.
- Return type:
ndarray
See also
Notes
brainpy.math.msort(a)
is equivalent tobrainpy.math.sort(a, axis=0)
.