Skip to content

Commit

Permalink
metro: add an improved comment
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 29edaa208a4778fc4580755f7b49879402e3c4ca5232a8a37bf5ed3de8a70c54
  • Loading branch information
[email protected] committed Dec 19, 2017
1 parent a9c30e7 commit 8fbe5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metro/include/metro/mean_and_covariance.hpp
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@

namespace metro {
// compute mean and covariance of the columns of data.
// missing data is ignored for this purpose.
// missing data is ignored for this purpose (i.e. this is based on pairwise complete observations)
template< typename Data, typename RowVector, typename CovarianceMatrix >
void compute_mean_and_covariance( Data const& data, Data const& nonmissingness, RowVector& mean, CovarianceMatrix& covariance ) {
assert( data.cols() == nonmissingness.cols() ) ;

0 comments on commit 8fbe5d2

Please sign in to comment.