TransposeMatrix

final case class TransposeMatrix[A](in: GE[A], rows: I, columns: I) extends SingleOut[A]

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
trait Serializable
trait SingleOut[A]
trait Lazy[A]
trait GE[A]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final def name: String
Inherited from:
UGenSource
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product