title: C++ STL for accessing equally spaced non contiguous elements of a vector
body: <p>I have defined a 1D vector for storing matrix values and want to extract all the elements which happen to lie in a column of a matrix. I know we can write a template but is there exists any STL for such task. Thanks</p>