List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Re: bug in Map ?
| [MUG] Re: bug in Map ? |
|
Author: Carl Devore
Posted: Wed, 23 Oct 2002 13:09:02 -0400
|
>> From: Carl Devore "devore"
On Mon, 21 Oct 2002, Jean Brillet wrote:
> Let A be a Matrix with numerical entries and with "datatype=anything".
> Then Map(evalf[n],A) applies evalf[Digits] whatever is n. The same
> occurs for Map(x->evalf[n](x),A). Map(evalf,A,n) does nothing.
> However Map(x->evalf(x,n),A) works fine.
The problem with your final solution, Map(x->evalf(x,n), A), is that it
generates 1 extra high-level procedure call per represented entry of A.
It is hard to imagine a situation where this would be worth the extra time
compared to the extra memory that is required by regular map.
|
[View Complete Thread]
Previous by date: [MUG] problem concerning plots, Wise Man
Next by date: [MUG] Re: Maple and PseudoRandomGenerator, Jerome BENOIT
Previous thread: [MUG] Matrix and filling it up, Caroline Ibrahim
Next thread: [MUG] Maple and PseudoRandomGenerator, Jerome BENOIT
|