List structures to create cross product on sublists seperately


#1

I would like to know a possible way to make Geometry.DistanceTo node set to a cross product in order to get the product of each sub list with that sub list only. list 0 with list 0 itself only, and list 1 with list 1 itself only (Multiple lists will be added later, thus needs an automation)
Finally after removing 0s, get the minimum of the two cross products separately.
Is there a way to do this?


#2

Try adding a list.Transpose after your Geometry.DistanceTo node.