public void TransposeForXDim(int[] axesMap, NdArray <int> from, NdArray <int> to) { Assert.Equal(to, from.Transpose(axesMap), NdArrayComparer <int> .Default); Assert.Equal(to.ToMutable(), from.ToMutable().Transpose(axesMap), NdArrayComparer <int> .Default); }