Tensor Utilities

Tensor Utilites for Tensor Manipulations

Download
Download

You are now following this Submission

Cite As

André Flakke (2026). Tensor Utilities (https://www.mathworks.com/matlabcentral/fileexchange/66263-tensor-utilities), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.41.0

Added functionality to compute the non-zero elements of the Levi-Cevita tensor of order N along with the respective coordinates in the Nth order tensor. Read the function headers for guidance and examples.

Download
2.40.0

Modified the function 'tensorOuterProduct()' to accept 1. order tensors, i.e. vectors.

Download
2.30.0

Added function tensorTranspose(T,P) for tensor permutations.

Download
2.20.0

Forgot to add the file. Now it is added.

Download
2.2.0

Added the function subTensor() which enables extraction of sub-tensors from a tensor.

Download
2.1.0

Added reference: The functions are mostly based on material in Golub, Van Loan 'Matrix Computations', 4th ed. Some background material was found in Tolosa, Castillo 'From Vectors to Tensors'.

Download
2.0.0

Added the function 'commuteKroneckerProduct()', which from knowledge of the dimensions of matrices A,B and the matrix K = kron(A,B), forms the matrix L = kron(B,A). I.e it commutes the kronecker product.

Download
1.1.0

Added image.

Download
1.0.0

Download