I think it should be possible to allow pointwise functions be applied to array element in expression.
E.g.
As of now the grammar doesn't allow this and causes syntax error.
Need to figure out how the addition would interact with existing optimizations.
sin(ID) could be though as just another ID.
- Ideally in case of sin(expr), expr could be optimized.
- Need to figure out if
sin(SHIFTVEC) needs special handling.
I think it should be possible to allow pointwise functions be applied to array element in expression.
E.g.
As of now the grammar doesn't allow this and causes syntax error.
Need to figure out how the addition would interact with existing optimizations.
sin(ID)could be though as just another ID.sin(SHIFTVEC)needs special handling.