Overwrite a specified submatrix of a Matrix<ObjectRef> with a specified value where the Matrix<ObjectRef> is an ObjectRef of a Map<int, ObjectRef> .
No files are required.
When to use
This node is used to overwrite a specified submatrix of a Matrix<ObjectRef> with a specified value where the Matrix<ObjectRef> is an ObjectRef of a Map<int, ObjectRef> . The data type of the specified value will be converted to the suitable one depending on the ObjectRef of the Map$<$int , Matrix<ObjectRef> $>$ given as the input.
Input
: Map$<$int , Matrix<ObjectRef> $>$ type; Map$<$int , Matrix<int> $>$, Map$<$int , Matrix<float> $>$, or Map$<$int , Matrix<complex<float> > $>$.
Output
: Map$<$int , Matrix<ObjectRef> $>$ type; Map$<$int , Matrix<int> $>$, Map$<$int , Matrix<float> $>$, or Map$<$int , Matrix<complex<float> > $>$.
Parameter
Parameter name |
Type |
Default value |
Unit |
Description |
OVERWRITTEN_ROW_MIN |
0 |
The row index of the Matrix given as the input to specify the first row of the submatrix on which overwrite. |
||
OVERWRITTEN_ROW_MAX |
0 |
The row index of the Matrix given as the input to specify the last row of the submatrix on which overwrite. |
||
OVERWRITTEN_COL_MIN |
0 |
The column index of the Matrix given as the input to specify the first column of the submatrix on which overwrite. |
||
OVERWRITTEN_COL_MAX |
0 |
The column index of the Matrix given as the input to specify the last column of the submatrix on which overwrite. |
||
OVERWRITE_VALUE_REAL |
0 |
The value with which overwrite a specified submatrix. The data type will be converted to the suitable one depending on the ObjectRef of the Map$<$int , Matrix<ObjectRef> $>$ given as the input. |
||
OVERWRITE_VALUE_IMAG |
0 |
The value for the imaginary part with which overwrite a specified submatrix when the ObjectRef of the Map$<$int , Matrix<ObjectRef> $>$ given as the input is the complex type. |
||
DEBUG |
false |
Enable or disable to output the overwriting status to standard output. |
: int type. The row index of the Matrix<ObjectRef> of the Map$<$int , Matrix<ObjectRef> $>$ given as the input to specify the first row of the submatrix on which overwrite. The default value is 0.
: int type. The row index of the Matrix<ObjectRef> of the Map$<$int , Matrix<ObjectRef> $>$ given as the input to specify the last row of the submatrix on which overwrite. The default value is 0.
: int type. The column index of the Matrix<ObjectRef> of the Map$<$int , Matrix<ObjectRef> $>$ given as the input to specify the firtst column of the submatrix on which overwrite. The default value is 0.
: int type. The column index of the Matrix<ObjectRef> of the Map$<$int , Matrix<ObjectRef> $>$ given as the input to specify the last column of the submatrix on which overwrite. The default value is 0.
: float type. The value with which overwrite a specified submatrix. When the INPUT is Map$<$int , Matrix<int> $>$, the type will be converted to the int type. When the INPUT is Map$<$int , Matrix<complex<float> > $>$, the value will be for the real part. The default value is 0.
: float type. The value for the imaginary part with which overwrite a specified submatrix when the ObjectRef of the Map$<$int , Matrix<ObjectRef> $>$ given as the input is the complex type. The default value is 0.
: bool type. Setting the value to trueoutputs the overwrite status to the standard output. The default value is false.
$<$example$>$
INPUT:
\[ \left\{ \begin{array}{cc} 0, & \left[ \begin{array}{ccc} 1 & 2 & 3\\ 4 & 5 & 6\\ \end{array} \right] \end{array} \right\} \] |
,
\[ \left\{ \begin{array}{cc} 1, & \left[ \begin{array}{ccc} 2 & 3 & 4\\ 5 & 6 & 7\\ \end{array} \right] \end{array} \right\} \] |
,
\[ \left\{ \begin{array}{cc} 2, & \left[ \begin{array}{ccc} 3 & 4 & 5\\ 6 & 7 & 8\\ \end{array} \right] \end{array} \right\} \] |
↓ OVERWRITTEN_ROW_MIN:0, OVERWRITTEN_ROW_MAX:0,
OVERWRITTEN_COL_MIN:1, OVERWRITTEN_COL_MAX:2,
OVERWRITE_VALUE_REAL:9
OUTPUT:
\[ \left\{ \begin{array}{cc} 0, & \left[ \begin{array}{ccc} 1 & 9 & 9\\ 4 & 5 & 6\\ \end{array} \right] \end{array} \right\} \] |
,
\[ \left\{ \begin{array}{cc} 1, & \left[ \begin{array}{ccc} 2 & 9 & 9\\ 5 & 6 & 7\\ \end{array} \right] \end{array} \right\} \] |
,
\[ \left\{ \begin{array}{cc} 2, & \left[ \begin{array}{ccc} 3 & 9 & 9\\ 6 & 7 & 8\\ \end{array} \right] \end{array} \right\} \] |