Stores the tensor in co-ordinate (COO) format. Non-zero entries are stored by their subscripts (i1,i2,i3,...,in) the subs matrix and their vals in the vals vector.

Slots

subs

matrix with length(dims) rows and length(vals) cols.

vals

values of non-zero entries.

dims

sizes of each dimension