Return the n largest values of tensor Z, sorted ascending.
n
Z
Sign in to write and run your own code.
solve(...)