Yes, this code works fine with reasonable inputs. What I haven't tried are out of bounds axes. And I am afraid that, for `axisc` at least, they will be silently clipped to the end of the array. Will test it and add something to the tests.