Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'OR Test for List comparison' topicStudent Support Forum > General > "OR Test for List comparison"

Next Comment >Help | Reply To Topic
Author Comment/Response
Shahzad
03/27/10 02:27am

Hello

In Mathematica, when I want to compare lists, it outputs differntly depending on the lists.
e.g

{g, c, c} == {g, c, c} give me True


But, when I enter the input
{g, c, c} == {g, c, u} || {g, c, c}
its output is just the same.
{g, c, c} == {g, c, u} || {g, c, c}

Can you please tell me how may I test if the two lists {g, c, u} OR {g, c, c} equals to {g, c, c}?


URL: ,

Subject (listing for 'OR Test for List comparison')
Author Date Posted
OR Test for List comparison Shahzad 03/27/10 02:27am
Re: OR Test for List comparison Tom 03/28/10 4:03pm
Re: Re: OR Test for List comparison Peter Pein 03/31/10 9:32pm
Re: OR Test for List comparison Nasser M. Ab... 03/28/10 9:25pm
Re: OR Test for List comparison Eric Creusen 04/01/10 05:06am
Next Comment >Help | Reply To Topic