Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >
BUILT-IN MATHEMATICA SYMBOL|See Also »

SameTest

SameTest
is an option whose setting gives a pairwise comparison function to determine whether expressions should be considered the same.
  • SameTest->f specifies that should be evaluated whenever it is necessary to determine whether pairs of expressions , should be considered the same.
Union of a set of integers:
Union considering comparison modulo 3:
Find a fixed point to a tolerance:
Union of a set of integers:
In[1]:=
Click for copyable input
Out[1]=
Union considering comparison modulo 3:
In[2]:=
Click for copyable input
Out[2]=
 
Find a fixed point to a tolerance:
In[1]:=
Click for copyable input
Out[1]=
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF