keisoku

Vector Outer Product (Tensor Product) Calculator

Compute the outer (tensor) product of two vectors A and B as an m×n matrix where C(i,j)=aᵢ×bⱼ, with rows, columns, and rank.

Input

Enter vector A on the first line and vector B on the second (separate components with spaces or commas).

Result

Outer product matrix size

3 × 2

Rows (m)

3

Columns (n)

2

Rank

1

Outer product matrix C (C(i,j)=aᵢ×bⱼ)

aᵢ\bⱼb1=4b2=5
a1=145
a2=2810
a3=31215

How it works

  • The outer (tensor) product of vectors A=(a₁,…,aₘ) and B=(b₁,…,bₙ) is the m×n matrix C(i,j)=aᵢ×bⱼ.
  • Enter vector A on the first line and vector B on the second line, separating components with spaces or commas.
  • The result matrix has m rows (dimension of A) and n columns (dimension of B).
  • An outer product matrix has rank 1 unless one of the vectors is the zero vector, in which case every entry is 0 and the rank is 0.
  • Note that the outer product differs from the cross product (the 3D vector product).

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Vector Outer Product (Tensor Product) Calculator