Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'list manipulation question' topicStudent Support Forum > General > Archives > "list manipulation question"

Next Comment >Help | Reply To Topic
Author Comment/Response
lillydogy
06/26/11 02:59am

I have a list, just like this... in this example, I am using letters, but in my real data, It is numbers.


{{a,b,c},{d,e,f}}

this is what I want:
if a is negative... I want this {{a,b,c},{d,e,f}}

if a is positive... I want this {{a,b,c},{d,f,e}}

so just switch e and f if a is positive :)


[Forum Moderator: similar to thread http://forums.wolfram.com/student-support/topics/25859.]

URL: ,

Subject (listing for 'list manipulation question')
Author Date Posted
list manipulation question lillydogy 06/26/11 02:59am
Re: list manipulation question yehuda ben-s... 06/27/11 08:56am
Re: list manipulation question lillydogy 06/27/11 8:34pm
Re: Re: list manipulation question yehuda ben-s... 06/29/11 05:45am
Next Comment >Help | Reply To Topic