Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.3K Views
|
3 Replies
|
1 Total Like
View groups...
Share
Share this post:

Logical program for not getting indeterminate value

POSTED BY: Kyaw Hla Chak
3 Replies
POSTED BY: Gianluca Gorni

In very simple cases, like 2!=3, the answer is immediately True, but usually != is meant for further processing, like equation solving. x-1!=0 is solved as x!=1. By itself, x-1!=0 is left as it is.

The test for literal inequality is =!=. It has a different purpose. x-1=!=0 gives True, because the two sides are not the same expression.

Check out the documentation about Unequal and UnsameQ.

POSTED BY: Gianluca Gorni

Thank you. I am new to this. Can you tell me what is the difference between != and =!= ?

POSTED BY: Kyaw Hla Chak
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard