![]() |
Blitz Support : |
From: Max (max_at_[hidden])
Date: 2003-12-03 19:01:33
Hello, I'm just started experimenting with blitz++. Looks pretty neat.
Now, I was wondering if their was some syntactic sugar for doing an
operation like this:
I have a, say, N x N matrix. I wish to create a N/2 x N/2 matrix from
it, such that each entry is the mean of four locations in the original
matrix. Basically, just doing a 2:1 downsampling of the matrix. I can
of course, always do the two nested for loops, but was just curious.
I don't think it quite fits as a stencil operation.
Max