: e = end(A, k)

Return last index along a dimension.

Package: ncarray