Loading…

Tensor Basics Teaser

Math Linear Algebra • Applications and Advanced Linear Algebra (capstone)

View all topics

Preview tensor operations with small 2nd/3rd order tensors: addition, outer product, contraction, and a rank-1 (CP1) decomposition teaser. The graph is a tensor grid heatmap with zoom/pan and a Play animation.

Tensor editor
Inputs accept -3.5, 2e-4, fractions 7/3, and constants pi, e.
Ready
Results
Result shape
Summary
Norm / error
Rank-1 factors (if applicable)
Result
Tensor grid visual
Heatmap of the result tensor. Tick labels show indices. Zoom with wheel/trackpad, drag to pan, double-click to reset. Play animates reveal (2D) or cycles slices (3D).
Step-by-step
Choose an operation and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

Why does the tensor editor use slices?

A 3rd order tensor can be viewed as a stack of matrices. Editing by slice k is a simple way to enter T(i,j,k) values.

What is the difference between outer product and contraction?

Outer product increases order and does not sum indices (C(i,j,k)=A(i,j)*b(k)). Contraction reduces order by summing over an index (M(i,j)=sum_k T(i,j,k)*v(k)).

What does rank-1 tensor mean?

A rank-1 tensor factors into a product of vectors: T(i,j,k)=λ a(i)b(j)c(k). It is the tensor analogue of a rank-1 matrix u v^T.

Is the rank-1 decomposition exact?

Not necessarily. The calculator shows a small rank-1 approximation (teaser) and reports the reconstruction error norm.