Depths and positions (at those depths) for nodes in a tree of order
ord, specified as a pair of column vectors with
nonnegative integer entries. The vectors d and
p must have the same length.
The values of depths D and positions
P must be such that D ≥0 and 0≤
P ≤
ordD-1.