You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nicolaspanel@JoostvDoorn
I build a function meanaxis(arr, axis = 0) for square matrices like [[1, 2], [3, 4]]. Inclusive tests.
/** * Calculates the arithmetic mean over a specific axis * axis := 0 means x-axis (columns) * axis := 1 means y-axis (rows) * @param {NdArray} arr * @param {Integer} axis (0 or 1) */functionmeanaxis(arr,axis=0)
I changed the function for calculating simple vectors like [1, 2, 3].
It would be very helpful if numjs supported mean/sum/min/max etc. over a specific axis like numpy.
The text was updated successfully, but these errors were encountered: