santamartina

40 Reputation

One Badge

6 years, 33 days

MaplePrimes Activity


These are replies submitted by santamartina

@acer , many thanks for the help. 

gkokovidis 2158nm 4341, many thanks for your help.  

@dohashi, many thanks for your help.  

@Carl Love, many thanks for the help. 

@acer , many thanks for your help. 

 

 

@acer, many thanks for your kind help. 

 

 

@acer, many thanks for your response. I attach a file with an illustrative example of my question. 

 Thank you.

EXAMPLES.mws

@Carl Love, many thanks for your help.  

@Joe Riel , many thanks for your kind help. 

 

 

@Carl Love, many thanks for your help. 

 

 

Carl Love, many thanks. 

Yes, the array is 1 dimensional, however the first index can be any number. 

@Carl Love, many thanks! 

@Carl Love, may I kindly ask you another question related to my first one and your response? 

I was thinking about a different solution to the problem I posed: 

If I do 

A:= Array([4]);

p:=proc(x)

A[x]+1; 

Append(A, %);

end proc:

map(p, [1,2,3]); 

I get   [[4,5,6,7], [4,5,6,7], [4,5,6,7]]

Why do I get 3 times the same result intead of just getting [[4,5,6,7]]? 

Many thanks for your kind help. 

@Carl Love, many thanks for your response. Unfortunately, I'm using Maple 18 so I won't be able to apply your first suggestion but your second one. 

Many thanks! 

Page 1 of 1