otbenchmark.ReliabilityLibrary.ComputeAbsoluteError¶
- ComputeAbsoluteError(exact, computed)¶
Compute absolute error between exact and computed.
The absolute error is defined by:
absoluteError = abs(exact - computed).
- Parameters:
- exactfloat
The exact value.
- computedfloat
The computed value.
- Returns:
- absoluteErrorfloat
The absolute error.