PROFASI  Version 1.5
Public Member Functions | List of all members
prf_utils::CorrelationEvaluator Class Reference

#include <statistics.hh>

Public Member Functions

double operator() (std::vector< double > &v1, std::vector< double > &v2)
 Find correlation between vectors v1 and v2.
 

Detailed Description

Evaluates the non-normalized correlation <uv>-<u><v> between to vectors of doubles, u and v.

Member Function Documentation

double prf_utils::CorrelationEvaluator::operator() ( std::vector< double > &  v1,
std::vector< double > &  v2 
)
inline

Usage: (for vectors v1 and v2 of double precision values CorrelationEvaluator corr; double correlation= corr(v1,v2);


The documentation for this class was generated from the following file:

PROFASI: Protein Folding and Aggregation Simulator, Version 1.5
© (2005-2016) Anders Irbäck and Sandipan Mohanty
Documentation generated on Mon Jul 18 2016 using Doxygen version 1.8.2