The matrices are produced from submatrices extracted left-to-right, top-to-bottom, in a raster scan pattern. For example, if rowSplit = {1, 2}, columnSplit = {2, 1}, and the input matrix is as follows:
1 2 3 4 5 6 7 8 9then the first matrix out is a column vector:
1 4The second matrix out is
2 3 5 6The third is
7(a 1x1 matrix) and the fourth is
8 9a 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. @param rows The number of rows per submatrix. @param columns The number of columns per submatrix. @return An array of matrix tokens. @exception IllegalActionException If the operation is not supported.
|
|