I'm having trouble defining a function in terms of variables with subindices. Using the makelist
command I can create an unspecified function that depends upon the subindexed variables x[1]
and x[2]
. However, when I try to give an expression to that function, wxMaxima does not allow it:
On the other hand, if I write the subindexed variables as x_1
and x_2
instead of x[1]
and x_[2]
, things do work.
What is the reason for this behavior? Aren't the two subindexing methods equivalent in terms of functions?