CREATE A MATRIX USING THE VECTORS¶
Assembles a matrix by stacking up to three numeric lists as rows. Each supplied vector becomes one row of the output matrix; omitted vectors are skipped. Use this worker whenever you need to construct a 1×N, 2×N, or 3×N matrix from individual list-typed outputs of upstream workers.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Vector 1 | vector1 | list | — | Numeric list that will occupy row 1 of the output matrix; optional — omit if fewer than one row is needed. | |
| Vector 2 | vector2 | list | — | Numeric list that will occupy row 2 of the output matrix; optional — omit to produce a single-row matrix. | |
| Vector 3 | vector3 | list | — | Numeric list that will occupy row 3 of the output matrix; optional — omit to produce a one- or two-row matrix. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| matrix_createfromvectorasrow_output_1 | matrix_createfromvectorasrow_output_1 | matrix | Resulting M×N matrix (M = number of supplied vectors, N = length of each vector) formed by stacking the input rows in order. |
Disciplines¶
- data.dataset.transform
Auto-generated from transformation schema. Worker id: matrix_createfromvectorasrow. Schema hash: 3b4cad247b99. Hand-curated docs in workerexamples/ override this page when present.