Description
Return factor one when left and right column indices agree, otherwise minus one.
A determinant encodes signed volume scaling and changes predictably under elementary row or column operations. Small-matrix identities depend on entry order and exact algebraic assumptions.
Return factor one when left and right column indices agree, otherwise minus one.
When to use this tool
Use Matrix Column Swap Parity Factor when you need one determinant identity, sign, or small-matrix diagnostic.
How to use the tool and how it works
- Enter left, right. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read factor. Use the output convention below.
Return factor one when left and right column indices agree, otherwise minus one.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| left | Left | Required. Safe integer; minimum 0. |
| right | Right | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| factor | Factor | Required. Safe integer. |
{
"input": {
"left": 2,
"right": 3
},
"output": {
"factor": -1
}
} Limitations and assumptions
- Indices are nonnegative but no matrix dimensions are supplied; this describes the determinant effect of one column swap only.
- 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
Use a stable factorization for full determinants and a scale-aware numerical analysis for near-singular matrices.
References
Similar or alternative tools
- Matrix: Matrix Single Row Swap Determinant Sign
Validate both zero-based rows within rowCount.
- Matrix Column Scaling Determinant Factor
Multiply determinant by scale for the determinant after scaling one column.