fsml_var Interface

public interface fsml_var

Computes the population or sample variance (depending on passed arguments). where is the size of (or number of observations in) vector x, are individual elements in x, (ddof) is a degrees of freedom adjustment (ddof = 0.0 for population variance, ddof = 1.0 for sample variance), and is the arithmetic mean of x.

Calls

interface~~fsml_var~~CallsGraph interface~fsml_var fsml_var proc~f_sts_var f_sts_var interface~fsml_var->proc~f_sts_var proc~f_sts_var_core f_sts_var_core proc~f_sts_var->proc~f_sts_var_core proc~s_err_print s_err_print proc~f_sts_var->proc~s_err_print proc~f_sts_mean_core f_sts_mean_core proc~f_sts_var_core->proc~f_sts_mean_core proc~f_utl_r2c f_utl_r2c proc~s_err_print->proc~f_utl_r2c

Module Procedures

public impure function f_sts_var(x, ddof) result(var)

Impure wrapper function for f_sts_var_core.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x(:)

x vector (assumed size array)

real(kind=wp), intent(in), optional :: ddof

delta degrees of freedom

Return Value real(kind=wp)

variance