Forums > Jitter

impossible to use >p operator in jit.expr?

May 28 2006 | 7:43 pm

May 28 2006 | 8:58 pm

A workaround is obvious : expr "in[0]*(in[0]>0.3)", for example. Anyway, the
question remains.

May 28 2006 | 10:50 pm


i can confirm >p jit.expr behavior on xp/pc (before those shiny new macs i
thought its enough to say ‘xp’)

if i understood the problem correctly,
one workaround could be:

jit.expr @expr "(norm[0] > 0.3)*norm[0]"


jit.expr @expr "(norm[0] > 0.3)*in[0]"


May 29 2006 | 5:19 am

The ">p" infix operator doesn’t work with the jit.expr parser.
However the prefix gtp(x,y) "greater than pass" should work (haven’t
verified, but programmed it to work that way). Similar for other
logical pass operators.

Let us know your findings.


May 29 2006 | 1:46 pm

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Jitter