Non-zero values in a tensor

nzvals(x)

# S4 method for dtensor
nzvals(x)

# S4 method for sptensor
nzvals(x)

Arguments

x

tensor