Calculate mean and variance of 1D data. More...
#include "pdf1d_calc_mean_var.h"
Go to the source code of this file.
Functions | |
void | pdf1d_calc_mean_var (double &mean, double &var, const vnl_vector< double > &d) |
Compute mean and variance of data. | |
void | pdf1d_calc_mean_var (double &mean, double &var, const double *d, int n) |
Compute mean and variance of data. |
Calculate mean and variance of 1D data.
Definition in file pdf1d_calc_mean_var.cxx.
void pdf1d_calc_mean_var | ( | double & | mean, |
double & | var, | ||
const vnl_vector< double > & | d | ||
) |
Compute mean and variance of data.
Definition at line 8 of file pdf1d_calc_mean_var.cxx.
void pdf1d_calc_mean_var | ( | double & | mean, |
double & | var, | ||
const double * | d, | ||
int | n | ||
) |
Compute mean and variance of data.
Definition at line 13 of file pdf1d_calc_mean_var.cxx.