powered by
The main advantage over ed is that it is a method that can be passed to different objects and used in combination with measure. See examples.
d(x, id1, id2)
numeric
a Ldk (typically), an Out or a matrix
id of the 1st row
id of the 2nd row
if you want all pairwise combinations, see coo_truss
# single shape d(wings[1], 1, 4) # Ldk object d(wings, 1, 4) # Out object d(hearts, 2, 4)
Run the code above in your browser using DataLab