Functions
contrib/mul/vpdfl/vpdfl_calc_mean_var.cxx File Reference

Calculate mean and variance of multivariate data. More...

#include "vpdfl_calc_mean_var.h"
#include <mbl/mbl_data_array_wrapper.h>

Go to the source code of this file.

Functions

void vpdfl_calc_mean_var (vnl_vector< double > &mean, vnl_vector< double > &var, const vnl_vector< double > *data, int n)
 Compute mean and variance of data.
void vpdfl_calc_mean_var (vnl_vector< double > &mean, vnl_vector< double > &var, mbl_data_wrapper< vnl_vector< double > > &data)
 Compute mean and variance of data.

Detailed Description

Calculate mean and variance of multivariate data.

Author:
Tim Cootes

Definition in file vpdfl_calc_mean_var.cxx.


Function Documentation

void vpdfl_calc_mean_var ( vnl_vector< double > &  mean,
vnl_vector< double > &  var,
const vnl_vector< double > *  data,
int  n 
)

Compute mean and variance of data.

Definition at line 11 of file vpdfl_calc_mean_var.cxx.

void vpdfl_calc_mean_var ( vnl_vector< double > &  mean,
vnl_vector< double > &  var,
mbl_data_wrapper< vnl_vector< double > > &  data 
)

Compute mean and variance of data.

Definition at line 46 of file vpdfl_calc_mean_var.cxx.