eqnear

(function for equations)

 

Usage:

eqnear (reldiff, x, y)

Definition:

| X - Y | / max (|X|, |Y|)reldiff

Required:

reldiff ⋝ 0

Returns true iff x is equal to y, within reldiff.

To have Netica choose reldiff, use approx_eq.