Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'If same element exists in a list, gives 0.' topicStudent Support Forum > General > Archives > "If same element exists in a list, gives 0."

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
02/21/13 3:08pm

Bill,
Just for the sake of completeness, since ver. 7 there is a new function
DeleteDuplicates that does not alter the order of the remaining elements, and replacing Union with DeleteDuplicates in your solution will just work

So, here is a new cookie for you :)



URL: ,

Subject (listing for 'If same element exists in a list, gives 0.')
Author Date Posted
If same element exists in a list, gives 0. simple 02/19/13 9:31pm
Re: If same element exists in a list, gives 0. Bill Simpson 02/20/13 1:34pm
Re: Re: If same element exists in a list, gives... yehuda 02/20/13 3:25pm
Re: If same element exists in a list, gives 0. Bill Simpson 02/20/13 4:08pm
Re: If same element exists in a list, gives 0. yehuda 02/21/13 3:08pm
< Previous CommentHelp | Reply To Comment | Reply To Topic