Returns the squared relative error . exp
must be nonzero; the result is dimensionless and elementally
applicable to scalar or array values.
error = sq_error(true_value, model_value)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=pr), | intent(in) | :: | exp |
Reference or expected value; must be nonzero. |
||
| real(kind=pr), | intent(in) | :: | pred |
Predicted value being compared with |