Igor Schein on Sun, 14 Nov 2004 06:16:57 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Lists and residue classes


On Sat, Nov 13, 2004 at 05:34:00PM -0800, Justin Walker wrote:
> Hi, all,
> 
> Two (unrelated) questions:
> 
> - is there a way to remove an element from a list (t_LIST)?  Pawing 
> through the user's guide didn't provide an explicit answer.

removefromlist(list,index)=List(vecextract(Vec(list),2^length(list)-1-2^index/2))

But maybe a native function to do just that without converting to Vec
first should be introduced for the sake of completeness?

Igor