statsf_set_col_sums_ae(3)

LIBRARY
#include <statsf.h>
-lbasic-stats -lxtend

SYNOPSIS

int     statsf_set_col_sums_ae(statsf_t *statsf_ptr, size_t c, double  new_col_sums_element)

ARGUMENTS
statsf_ptr      Pointer to the structure to set
c               Subscript to the col_sums array
new_col_sums_element The new value for col_sums[c]

DESCRIPTION
Mutator for an array element of col_sums member in a statsf_t structure. Use this function to set statsf_ptr->col_sums[c] in a statsf_t object from non-member functions.

RETURN VALUES
STATSF_DATA_OK if the new value is acceptable and assigned STATSF_DATA_OUT_OF_RANGE otherwise

EXAMPLES
statsf_t        statsf;
size_t          c;
double *        new_col_sums_element;
if ( statsf_set_col_sums_ae(&statsf, c, new_col_sums_element)
        == STATSF_DATA_OK )
{
}

SEE ALSO
STATSF_SET_COL_SUMS_AE(3)