Skip to content

Main content

Matrix Two Row Inner Product Term Tool

Compute matrix two row inner product term from explicit bounded inputs.

Loading tool…

Description

Require equal-length left and right arrays, multiply corresponding elements into terms, and sum those products.

Matrix-product entries are dot products of matching rows and columns. Trace and Rayleigh-quotient contributions require corresponding coordinates from the same underlying calculation.

Require equal-length left and right arrays, multiply corresponding elements into terms, and sum those products.

When to use this tool

Use Matrix Two Row Inner Product Term when you need one explicit real matrix-product contribution.

How to use the tool and how it works

  1. Enter left, right. Keep parallel arrays aligned. 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 terms, sum. Use the output convention below.

Require equal-length left and right arrays, multiply corresponding elements into terms, and sum those products.1

Input fieldMeaning and unitsAccepted input
leftLeftRequired. Array of finite number; maximum items 256.
rightRightRequired. Array of finite number; maximum items 256.
Output fieldInterpretationReturned shape
termsTermsRequired. Array of finite number; maximum items 256.
sumSumRequired. Finite number.
json
{
  "input": {
    "left": [
      1,
      2
    ],
    "right": [
      3,
      4
    ]
  },
  "output": {
    "terms": [
      3,
      8
    ],
    "sum": 11
  }
}

Limitations and assumptions

  • This real dot product does not perform complex conjugation or compensated summation.
  • 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 complete shapes and coordinate correspondence before aggregating contributions or using a matrix library.

References

  1. Calculation and input contract: matrix/matrix-two-row-inner-product-term — tool.io

Similar or alternative tools