A preliminary report on the development of MATLAB tensor classes for fast algorithm prototyping.
Author(s) -
Brett W. Bader,
Tamara G. Kolda
Publication year - 2004
Language(s) - English
Resource type - Reports
DOI - 10.2172/974887
Subject(s) - tensor (intrinsic definition) , matlab , class (philosophy) , computer science , tensor contraction , tensor calculus , rapid prototyping , algorithm , computational science , multiplication (music) , algebra over a field , tensor product , mathematics , exact solutions in general relativity , tensor field , programming language , pure mathematics , artificial intelligence , combinatorics , engineering , mathematical analysis , mechanical engineering
We describe three MATLAB classes for manipulating tensors in order to allow fast algorithm prototyping. A tensor is a multidimensional or N-way array. We present a tensor class for manipulating tensors which allows for tensor multiplication and 'matricization.' We have further added two classes for representing tensors in decomposed format: cp{_}tensor and tucker{_}tensor. We demonstrate the use of these classes by implementing several algorithms that have appeared in the literature
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom