yaeos
User documentation
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
sq_error
Function
MPL
6 statements
Source File
math.f90
yaeos__math
sq_error
Contents
public elemental function sq_error(exp, pred)
Uses
yaeos__constants
Squared error between two values.
Description
…
Examples
error
=
sq_error
(
true_value
,
model_value
)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=pr),
intent(in)
::
exp
real(kind=pr),
intent(in)
::
pred
Return Value
real(kind=pr)