I have some trouble in my code with Armadillo. I\'m trying to create a subvector and submatrix from another one through a sliding windows (called epoch in the code). Here is