functioncompareReal

Compares two Reals, and checks if they are close enough to be considered equal

Inputs

TypeNameDefaultDescription
Reala
Realb
RealabsTol1e-10Absolute tolerance
RealrelTol1e-5Relative tolerance

Outputs

TypeNameDefaultDescription
BooleannotEqualtrue if not equal
Booleanincrtrue if the change is incremental