Difference between revisions of "Appendix H: Matlab object overloads"
(→Cell arrays) |
|||
| Line 15: | Line 15: | ||
[[cell/mtimes.m]] - element-wise multiplication by a matrix. | [[cell/mtimes.m]] - element-wise multiplication by a matrix. | ||
| + | [[cell/totsum.m]] - a sum across all dimensions of a cell array. | ||
| − | ''Version 2. | + | |
| + | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Revision as of 13:09, 6 August 2018
Spinach kernel adds a few operations to built-in Matlab objects. This section contains the list of those operations.
Structures
struct/plus.m - field-wise addition.
struct/mtimes.m - field-wise multiplication by a matrix.
Cell arrays
cell/plus.m - element-wise addition.
cell/minus.m - element-wise subtraction.
cell/mtimes.m - element-wise multiplication by a matrix.
cell/totsum.m - a sum across all dimensions of a cell array.
Version 2.2, authors: Ilya Kuprov