Boost logo

Boost :

From: Seth (bugs_at_[hidden])
Date: 2022-01-02 14:16:21


On Sun, Jan 2, 2022, at 3:13 PM, Seth wrote:
> Taking the liberty to appropriate that as a response to my post as
> well: https://godbolt.org/z/o4x6vGhW5
>

I omitted the output of the sample:

K×L×M: [[[0, 1, 2, 3, 4], [5, 6, 7, 8, 9], [10, 11, 12, 13, 14]], [[15, 16, 17, 18, 19], [20, 21, 22, 23, 24], [25, 26, 27, 28, 29]]]
L×M×K: [[[0, 1], [2, 3], [4, 5], [6, 7], [8, 9]], [[10, 11], [12, 13], [14, 15], [16, 17], [18, 19]], [[20, 21], [22, 23], [24, 25], [26, 27], [28, 29]]]
3d slice: [[[20, 21], [24, 25], [28, 29]]]
2d slice: [[21, 25, 29]]

Seth


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk