calcDiff: Calculate difference between two numeric vectors that
gives exactly zero for very small relative differences.
Description
Calculate difference between two numeric vectors that gives
exactly zero for very small relative differences.
Usage
calcDiff(X, Y, EPS = 1e-12)
Arguments
EPS
relative difference equivalent to zero