i’m using functionCHOP on a simple Ramp patternCHOP. i’m using Pow(x)–> input1 ^ Exponent.

i’m setting the exponent to 4. but the result doesn’t make negative values positive. it just power up the number! MY SOLUTION is squaring up the pattern using a math and then using function with “Odd” exponents.

1 Like

1 Like

Yes, looks like you’ve uncovered an original workaround in the Function CHOP to deal with cases of

pow(x,y) where x is negative!

In most cases the values aren’t practical but should be fine when y is an positive integer, such as your case above.

Unfortunately we can’t change it cleanly without legacy compatibility issues, so it will require some new options or a work around such as the one you’ve implemented.

We’ll add it to the bug queue.

Thanks for the example.

Rob

1 Like