I have a list in maxima like:
x:[1,3,7,98,211,3,2.44,23]
I need to find the maximun value of the list and on which position(s) the maximum value is situated.
The only thing that has occurred to me is to rewrite the list as a sequence and apply the 'max' command
max(first(x),second(x),...,last(x))
But it is not efficient, and I don't know get the index of the maximum value.
Can anybody help me?