Hello Maxima list,
I'm still a novice with maxima and having a problem understanding the following.
This works as I expect:
(%i20) map(lcm,[4,12],[5,3]);
(%o20) [20, 12]
But not this:
(%i21) map(gcd,[4,12],[5,3]);
(%o21) [subres(4, 5), subres(12, 3)]
I've tried changing the default from subres, but no luck.
I can work around like so:
(%i22) create_list(gcd([4,12][i],[5,3][i]),i,1,length([4,12]));
(%o22) [1, 3]
but prefer the conciseness (and speed?) of the original form.
I'm sure I'm missing something very obvious.
Thanks for any help.