powered by
Gives the pixel at resolution \(j - k\) that contains \(p\), where \(p\) is specified at resolution \(j\) (notice it does not depend on \(j\)).
ancestor(p, k)
A pixel index specified in nested order.
A generation of an ancestor pixel.
# NOT RUN { ancestor(4,2) ancestor(17,2) # }
Run the code above in your browser using DataLab