MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: List representation using element position


Bon jour Jean-Marc,
there is absolutely no reason for apologizing; on the contrary!
Your comment is completely correct. Actually, without stating it, I 
wanted the function to be applied to other elements that numbers.
Hence mine is incorrect, or at least incomplete.
Best regards,
Wolfgang

Jean-Marc Gulliet wrote:

> Jean-Marc Gulliet wrote:
> 
>>Dr. Wolfgang Hintze wrote:
>>
>>>Hello group,
>>>happy new year to all of you!
>>>
>>>This one was put up in a slightly different form by me in March 2006.
>>>It is now more general and it is lossless with respect to information:
>>>
>>>Given a list of integers which may repeat, e.g.
>>>
> 
> <.. snip..>
> 
>>>My solution appears 15 lines below
>>>
>>By the way, your solution works "correctly" only for a list of positive 
>>integers. (Otherwise, the elements of the original list are replace by 
>>their index number, index number starting from one.) Compare,
>>
> <..snip..>
> 
> Sorry Wolfgang,
> 
> Forgive me for this silly comment, since you explicitly and correctly 
> describe what you expect in your original post, post that, for whatever 
> reason, I fail to keep in mind!
> 
> Regards,
> Jean-Marc
> 
> 


  • Prev by Date: Re: please explain why numerical integration is attempted for this input
  • Next by Date: Re: Finding paths in graphs
  • Previous by thread: Re: List representation using element position
  • Next by thread: Re: glibc version problem