./
arr_eq.pro
Routines
result = arr_eq(array1, array2 [, thresh=thresh])This function compares 2 arrays, and returns 1 if all of their values are equal.
test
Routine details
toparr_eq
result = arr_eq(array1, array2 [, thresh=thresh])
This function compares 2 arrays, and returns 1 if all of their values are equal.
Return value
1 if the arrays are equal, 2 if not
Parameters
- array1 in required
The first array
- array2 in required
The second array
Keywords
- thresh in optional
For floating point arrays, machine precision can cause tiny changes between numbers that, for practical purpose, you consider to be equal. Set thresh to a positive number below which two floating point numbers are considered equal
toptest
test
File attributes
| Modifcation date: | Mon Apr 12 21:18:40 2010 |
| Lines: | 54 |
![[attach.png]](idldoc-resources/attach.png)