Tensor Operations

This code performs all the common tensor operations on the space of tensors on a finite-dimensional space that don't use differentiation.
3 Downloads
Updated 9 May 2025

View License

This code should perform all those common tensor operations that don't use differentiation, and some less common ones, on a tensor on a finite-dimensional vector space. The tensors are represented as matrices. A more detailed description of this representation and the tensor operations themselves may be found as Appendix L of the book Linear Algebra in Context by Lawrence Susanka.
The appendix itself may be found at http://susanka.org/bookfiles/MATLABTensor.pdf
and the Springer Nature link to the book itself is https://link.springer.com/book/10.1007/978-3-031-78424-8

Cite As

Larry Susanka (2026). Tensor Operations (https://uk.mathworks.com/matlabcentral/fileexchange/181053-tensor-operations), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0