length

(method of tensor)

returns the number of tensors

Syntax

n = length(T,'param1',val1,'param2',val2)