Toggle navigation
ecasglez's FortranUtilities
General documentation
Contents
Source Files
Modules
Procedures
Source Files
Modules
Procedures
include_variance.f90
Source File
MIT
3 statements
Source File
include_variance.f90
Contents
Source Code
include_variance.f90
Contents
Source Code
include_variance.f90
Source Code
avg
=
mean
(
x
)
res
=
SUM
((
x
(:)
-
avg
)
**
2
)
res
=
res
/
REAL
(
SIZE
(
x
)
-
1
,
prec
)