votca 2024.2-dev
Loading...
Searching...
No Matches
votca::tools::Correlate Class Reference

class to calculate correlations of values More...

#include <correlate.h>

Collaboration diagram for votca::tools::Correlate:

Public Member Functions

 Correlate ()=default
 
 ~Correlate ()=default
 
void CalcCorrelations (DataCollection< double >::selection &data)
 
std::vector< double > & getData ()
 
const std::vector< double > & getData () const
 

Private Attributes

std::vector< double > corr_
 

Detailed Description

class to calculate correlations of values

Definition at line 35 of file correlate.h.

Constructor & Destructor Documentation

◆ Correlate()

votca::tools::Correlate::Correlate ( )
default

◆ ~Correlate()

votca::tools::Correlate::~Correlate ( )
default

Member Function Documentation

◆ CalcCorrelations()

void votca::tools::Correlate::CalcCorrelations ( DataCollection< double >::selection & data)

calculate the correlation of the first row in selection with all the other

Definition at line 24 of file correlate.cc.

◆ getData() [1/2]

std::vector< double > & votca::tools::Correlate::getData ( )
inline

Definition at line 46 of file correlate.h.

◆ getData() [2/2]

const std::vector< double > & votca::tools::Correlate::getData ( ) const
inline

Definition at line 47 of file correlate.h.

Member Data Documentation

◆ corr_

std::vector<double> votca::tools::Correlate::corr_
private

Definition at line 50 of file correlate.h.


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