SUBTRACT TWO MATRICES¶
Performs element-wise subtraction of two matrices (Matrix 1 − Matrix 2) and returns the resulting matrix. Use this worker whenever you need to compute the difference between two same-shaped matrices within a transformation workflow.
When to use¶
Classification: process.
Tagged: element-wise, linear-algebra, matrix, subtraction, transformation.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Matrix 1 | matrix1 | matrix | — | The minuend matrix (Matrix 1 in the expression Matrix 1 − Matrix 2); must have the same dimensions as Matrix 2. | |
| Matrix 2 | matrix2 | matrix | — | The subtrahend matrix (Matrix 2 in the expression Matrix 1 − Matrix 2); must have the same dimensions as Matrix 1. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| matrix_scalarsubtract_output_1 | matrix_scalarsubtract_output_1 | matrix | Resulting matrix from the element-wise subtraction of Matrix 2 from Matrix 1; has the same shape as the two input matrices. |
Disciplines¶
- data.dataset.transform
Auto-generated from transformation schema. Worker id: matrix_scalarsubtract. Schema hash: 209bf8346943. Hand-curated docs in workerexamples/ override this page when present.