Does anyone know of a standard function in Ox that compares two arithmetic
types
and checks whether they are "equal", up to a given degree of numerical
precision?
e.g.
(ma - mb)'(ma-mb) = -8.8435e-010
would produce ma == mb or iseq(ma, mb) = FALSE.
Is there something that gets round this numerical problem?
(I've got my own function doing that, but I wonder whether there is already
one in the Ox function library)
Thanks,
Sophocles
|