Skip to content

Main content

Matrix Permutation Fixed Point Entry Tool

Compute matrix permutation fixed point entry from explicit bounded inputs.

Loading tool…

Description

Validate permutation as unique integer indices covering its own length and select a valid index.

Matrix shapes can be empty or have singleton axes without containing a scalar. Broadcasting expands singleton dimensions under an explicit axis-by-axis compatibility rule.

Validate permutation as unique integer indices covering its own length and select a valid index.

When to use this tool

Use Matrix Permutation Fixed Point Entry when you need a matrix shape, count, or structural entry classification.

How to use the tool and how it works

  1. Enter permutation, index. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read diagonal, fixed. Inspect fixed before interpreting the associated values.

Validate permutation as unique integer indices covering its own length and select a valid index. Return diagonal one when permutation[index] equals index, otherwise zero.1

Input fieldMeaning and unitsAccepted input
permutationPermutationRequired. Array of safe integer; maximum items 256.
indexIndexRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
diagonalDiagonalRequired. Safe integer.
fixedFixedRequired. Boolean.
json
{
  "input": {
    "permutation": [
      1,
      0,
      2
    ],
    "index": 2
  },
  "output": {
    "diagonal": 1,
    "fixed": true
  }
}

Limitations and assumptions

  • This inspects one fixed point rather than constructing the full permutation matrix.
  • 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

Check all axes and actual data lengths when validating a complete matrix or broadcast operation.

References

  1. Calculation and input contract: matrix/matrix-permutation-fixed-point-entry — tool.io

Similar or alternative tools