Description
Split column by blockColumns for transposed blockRow and localRow, and split row by blockRows for blockColumn and localColumn.
A matrix coordinate, a storage offset, and a block-local coordinate are different representations. Shape, stride, origin, and transpose conventions determine the correct mapping.
Split column by blockColumns for transposed blockRow and localRow, and split row by blockRows for blockColumn and localColumn.
When to use this tool
Use Matrix Block Transpose Coordinate Map when you need one explicit matrix-coordinate or address conversion.
How to use the tool and how it works
- Enter row, column, blockRows, blockColumns. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read blockRow, blockColumn, localRow, localColumn. Use the output convention below.
Split column by blockColumns for transposed blockRow and localRow, and split row by blockRows for blockColumn and localColumn.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| row | Row | Required. Safe integer; minimum 0. |
| column | Column | Required. Safe integer; minimum 0. |
| blockRows | Block Rows | Required. Safe integer; minimum 1. |
| blockColumns | Block Columns | Required. Safe integer; minimum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| blockRow | Block Row | Required. Safe integer. |
| blockColumn | Block Column | Required. Safe integer. |
| localRow | Local Row | Required. Safe integer. |
| localColumn | Local Column | Required. Safe integer. |
{
"input": {
"row": 5,
"column": 7,
"blockRows": 2,
"blockColumns": 3
},
"output": {
"blockRow": 2,
"blockColumn": 2,
"localRow": 1,
"localColumn": 1
}
} Limitations and assumptions
- This assumes regular equal-sized blocks and transposes both the block grid and local coordinates; full matrix bounds are not supplied.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Validate the full shape, memory span, and storage convention before using the resulting index.
References
Similar or alternative tools
- Matrix One Entry Transpose Address
Validate a zero-based coordinate in positive rows and columns, then swap row with column and rows with columns.
- Matrix: Matrix Block Local Coordinate
Check membership in the half-open row and column ranges of the block.