Purpose
Equality test
Synopsis
EQ(value1, value2)
Arguments
|
value1
|
One of the following: a constant; a variable; a formula evaluating to
a single value; or an XV with only one item
|
|
value2
|
One of the following: a constant; a variable; a formula evaluating to
a single value; or an XV with only one item
|
Return value
0 ("false") if value1 is not equal to value2 within tolerance;
1 ("true") if value1 is equal to value2 within tolerance.
Example
Given the following matrix items:
Column: A
Column: B
XV : XVA: A
XV : XVB: = = = B ^ 2
then the following are all valid uses of the function:
EQ(A,99)
EQ(A,B)
EQ(A,B^2)
EQ(XVB,SQRT(A))
EQ(XVA,XVB)
EQ(99,XVB)
If you have any comments or suggestions about these pages,
please send mail to docs@dashoptimization.com.