Sorry, actually:
f(varname, index, value) := arraymake(varname,[index]) :: value
On Mon, Jul 2, 2012 at 6:08 PM, Stavros Macrakis <macrakis at alum.mit.edu>wrote:
> f(varname, index, value) := arraymake(varname,index) :: value
>
> On Mon, Jul 2, 2012 at 4:52 PM, J?rome Laurens <
> jerome.laurens at u-bourgogne.fr> wrote:
>
>> Hi list,
>>
>> I am afraid the title is not very well formulated, hence my bad googling
>> results...
>>
>> here is my problem
>>
>> given a[1] and b[1], I want a function f such that f(a) will set a[1] to
>> some value whereas f(b) will set b[1] to the same value.
>>
>> TIA
>>
>> Jerome
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>
>