final case class MatrixOutMatrix[A](in: GE[A], rowsInner: I, columnsInner: I, columnsOuter: I, rowOff: I = 0, columnOff: I = 0, rowNum: I = 1, columnNum: I = 1) extends SingleOut[A] with Product with Serializable
A UGen that stitches together sequences of sub-matrices to a larger matrix.
The matrix dimensions and offsets are updated per "matrix chunk" which is are
columnsOuter/columnNum
input matrices of size rowsInner * columnsInner
.
In other words, the UGen has no
intrinsic knowledge of the height of the output matrix.
For example, if the input matrices are of size (5, 6) (rows, columns), and we want to assemble the
cells (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), that is copped matrices of size (2, 3)
beginning at the second row and second column, and we want the outer matrix to have 9 columns,
so that each three input matrices appear horizontally next to each other, the settings would be
rowsInner = 5
, columnsInner = 6
, columnsOuter = 9
, rowOff = 1
, columnOff = 1
,
rowNum = 2
, columnNum = 3
.
For more complex behaviour, such as skipping particular rows or columns, ScanImage
can be used.
- in
the sequence of smaller matrices
- rowsInner
height of the input matrices
- columnsInner
width of input matrices
- columnsOuter
width of the output matrix. Must be an integer multiple of
columnNum
.- rowOff
offset in rows within the input matrices, where copying to the output matrix begins
- columnOff
offset in columns within the input matrices, where copying to the output matrix begins
- rowNum
number of rows to copy from each input matrix
- columnNum
number of columns to copy from each input matrix.
- Alphabetic
- By Inheritance
- MatrixOutMatrix
- Serializable
- SingleOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new MatrixOutMatrix(in: GE[A], rowsInner: I, columnsInner: I, columnsOuter: I, rowOff: I = 0, columnOff: I = 0, rowNum: I = 1, columnNum: I = 1)
- in
the sequence of smaller matrices
- rowsInner
height of the input matrices
- columnsInner
width of input matrices
- columnsOuter
width of the output matrix. Must be an integer multiple of
columnNum
.- rowOff
offset in rows within the input matrices, where copying to the output matrix begins
- columnOff
offset in columns within the input matrices, where copying to the output matrix begins
- rowNum
number of rows to copy from each input matrix
- columnNum
number of columns to copy from each input matrix.