Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
199 views

Average cluster size of a n-size vector

Given a vector of $n$ cells and $k$ elements in it, we can define a cluster of elements as a contiguous sequence of elements inside the vector. My goal is to calculate the average cluster size for all ...
Cardstdani's user avatar