#=

You have n data vectors of equal length (rowcount ๐“‡)
๐ท๐‘Ž๐‘ก๐‘Žโ‚ .. ๐ท๐‘Ž๐‘ก๐‘Žแตข .. ๐ท๐‘Ž๐‘ก๐‘Žโ‚™  collected as an ๐“‡ x ๐“ƒ matrix ๐‘€
you want to apply the same function (sum) 
to colum-wise triple row subsequences, successively

=#

using RollingFunctions

๐ท๐‘Ž๐‘ก๐‘Žโ‚ = [1, 2, 3, 4, 5]
๐ท๐‘Ž๐‘ก๐‘Žโ‚‚ = [5, 4, 3, 2, 1]
๐ท๐‘Ž๐‘ก๐‘Žโ‚ƒ = [1, 2, 3, 2, 1]

๐‘€ = hcat(๐ท๐‘Ž๐‘ก๐‘Žโ‚, ๐ท๐‘Ž๐‘ก๐‘Žโ‚‚, ๐ท๐‘Ž๐‘ก๐‘Žโ‚ƒ);

#=
julia> ๐‘€
5ร—3 Matrix{Int64}:
 1  5  1
 2  4  2
 3  3  3
 4  2  2
 5  1  1
=#

๐น๐‘ข๐‘›๐‘ = sum
๐‘†๐‘๐‘Ž๐‘› = 3

result = rolling(๐น๐‘ข๐‘›๐‘, ๐‘€, ๐‘†๐‘๐‘Ž๐‘›)

#=
julia> result
3ร—3 Matrix{Int64}:
  6  12  6
  9   9  7
 12   6  6
=#