aeq
Functions
-
int main(int argc, char *argv[])
aeq [ option ] exfile [ infile ]
-t double
absolute tolerance
-e int
error type
0
absolute error1
relative error
-L
disable to check length
exfile str
double-type expected values
infile str
double-type actual values
stdout
result messages
This command checks whether two data sequences are almost equal or not.
Given the two data sequences
is calculated sample-by-sample: is greater than tolerance or is not equal to , the command prints a warning message.The below example checks the equality between two data:
aeq -t 0 data.x1 data.x2
- Parameters:
argc – [in] Number of arguments.
argv – [in] Argument vector.
- Return values:
-1 – Given two data sequences are not almost equal.
0 – Given two data sequences are almost equal.
1 – Failed to run this command.