Focal operations

Focal operations#

template<typename Count, typename Policies, typename Element, Rank rank, typename Kernel>
PartitionedArray<Count, rank> focal_diversity(Policies const &policies, PartitionedArray<Element, rank> const &array, Kernel const &kernel)#

Return an array with per cell the number of unique element values found in the cells within the corresponding focal window.