Search code examples
complex-numbersmaple

Question about using Maple's arrow (->) notation


Hi can someone show me how to do this:

Your function should take a Maple list of complex numbers as its input and return the largest modulus from that list.


Solution

  • Hint: Use the map command to apply the abs command to some such list. Then apply the max command to that. Now repeat, by composing that second operation around the first. Finally, create an operator which takes L to that composed operation applied to L.

    Look to the help-pages ?max, ?map, ?abs, and ?operators,functional, if necessary.