Can anyone explain the following (in Maple 11):

>maptype(set,evalf,[2.2222]);

 returns   [2.2]

whereas

>evalf([2.2222]);

 returns [2.2222]

My reading of the help page is that if [2.2222]  is not of type set (which it isn't) then maptype should return evalf([2.2222]);   It would seem that in this context, evalf is acting as evalf[2] independent of the prevailing Digits.

Am I being dim?   I' d be grateful for elucidation although it arose incidentally and there's not a problem I am trying to solve.

  Toby

 

        


Please Wait...