Question: No explicit statement

Hi!

I have a piecewise defined function alpha. Its functional directives are stored in a vector A. But when I call up the command

alpha:=(x1,x2,x3)->piecewise(
    x1 < 0 , A[1],

   0< x1<1 A[2], ...):,

the result (x1,x2,x3)->piecewise(.... , A[1], ...) remains symbolic. What can I do that the entries of A[i] appear in the functional directive?

 

Thanks!

Please Wait...