DOCUMENTATION CENTER SEARCH
Mathematica
>
Built-in
Mathematica
Symbol
Putting Constraints on Patterns
Tutorials »
|
UnsameQ
Equal
Order
PossibleZeroQ
See Also »
|
Conditionals
Expressions
Mathematica Syntax
Testing Expressions
More About »
SameQ
lhs
rhs
yields
True
if the expression
lhs
is identical to
rhs
, and yields
False
otherwise.
MORE INFORMATION
SameQ
requires exact correspondence between expressions, except that it still considers
Real
numbers equal if they differ in their last binary digit.
2
2.
gives
False
.
e
1
e
2
e
3
gives
True
if all the
are identical.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Test whether two expressions are identically the same:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
remains symbolic unless literal values are given:
In[3]:=
Out[3]=
Full form:
In[1]:=
Out[1]=
Scope
(4)
Applications
(1)
SEE ALSO
UnsameQ
Equal
Order
PossibleZeroQ
TUTORIALS
Putting Constraints on Patterns
MORE ABOUT
Conditionals
Expressions
Mathematica Syntax
Testing Expressions
New in 1
© 2008 Wolfram Research, Inc.