A UGen that transposes 2-dimensional matrices.
This is a 2-dimensional windowed process, where
each window has length rows * columns
. Input
is assumed to be "left-to-right, top-to-bottom",
so the first samples constitute the first row,
the next samples constitute the second row, etc.
'''Note:''' The UGens takes up twice the matrix size of memory.
The output matrix is transposed (rows and columns
exchanged). So an input of (a, b, c, d, e, f)
with rows = 2
and columns = 3
is interpreted
as ((a, b, c), (d, e, f))
, transposed as
((a, d), (b, e), (c, f))
and output flat as
(a, d, b, e, c, f)
.
To rotate an image ninety
degrees clockwise, you would have rows = height
and columns = width
.
- Value parameters:
- columns
the number of columns of the input
- in
the input matrices
- rows
the number of rows of the input
- See also:
- Companion:
- object