This actor splits an input matrix into a sequence of matrices.
This actor reads 1 input matrix and produces N*M output matrices,
where N is the size of the <i>rowSplit</i> array, and M is
the size of the <i>columnSplit</i> parameter. The matrices
are produced from submatrices extracted left-to-right,
top-to-bottom, in a raster scan pattern.
For example, if <i>rowSplit</i> = {1, 2},
<i>columnSplit</i> = {2, 1}, and the input matrix is
as follows:
<pre>
1 2 3
4 5 6
7 8 9
</pre>
then the first matrix out is a column vector:
<pre>
1
4
</pre>
The second matrix out is
<pre>
2 3
5 6
</pre>
The third is
<pre>
7
</pre>
(a 1x1 matrix) and the fourth is
<pre>
8 9
</pre>
a row vector.
If the input does not have enough elements to fill the specified
output matrices, then zeros (of the same type as the input elements)
are used. If the input is larger than is required to fill the specified
output, then the additional values are discarded.
<p>
Edward Lee
$Id: MatrixSplit.java 70402 2014-10-23 00:52:20Z cxh $
Ptolemy II 6.1
Yellow (eal)
Red (neuendor)
An array specifying the number of columns in the output matrices.
This is an array of integers, with default {1}.
An array specifying the number of rows in the output matrices.
This is an array of integers, with default {1}.