If I have, say, a 3-plane float32 matrix @dim 1000 and I want to create a new matrix comprised of only the even cells of a this first matrix, is there a way to do this in jitter – with jit.expr perhaps?

Or maybe I want to filter out every multiple of 3…

I know how to do this with the matrix to jit.iter…etc…. and then reformat as new matrix, but it seems like there should be a way to stay in jitter land.

Any help would be much appreciated!

Zachary

]]>best,

AB

Zachary Seldess wrote:

> Hi guys,

>

> If I have, say, a 3-plane float32 matrix @dim 1000 and I want to create a new matrix comprised of only the even cells of a this first matrix, is there a way to do this in jitter – with jit.expr perhaps?

>

> Or maybe I want to filter out every multiple of 3…

>

> I know how to do this with the matrix to jit.iter…etc…. and then reformat as new matrix, but it seems like there should be a way to stay in jitter land.

>

> Any help would be much appreciated!

>

> Zachary

>

> –

> http://www.zacharyseldess.com

>

>

I figured (as is too often the case!) I overlooked a simple solution.

Zachary

]]>