Question: piecewise functions with vectors

Hello,

I'm trying to create a piecewise function with vectors instead of constants. So far I have

vf := 3*vx[1] < [6, 1] and vx[1] < [-2, 5], [3, 4]+3*vx[1], 2*vx[1] < [8, -4] and -vx[1] < [2, -5], [1, 9]+2*vx[1], -3*vx[1] < [-6, -1] and -2*vx[1] < [-8, 4], [9, 5]

This won't convert to a piecewise function. However, if the vectors are in the form (1,2) instead of [1,2] (ie. with parentheses instead of braces), it works. Is there any way to convert them at this stage or earlier, when I have then as individual functions (for example: 3*vx[1] < [6, 1])?

Thanks for the help,

Amanda
Please Wait...