MCPcopy Create free account
hub / github.com/arq5x/bedtools2 / GetMean

Method GetMean

src/utils/VectorOps/VectorOps.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78double VectorOps::GetMean(void)
79{
80 // convert the vec of strings to a vec of doubles
81 transform(_vecs.begin(), _vecs.end(), back_inserter(_vecd), MakeDouble);
82 return accumulate(_vecd.begin(), _vecd.end(), 0.0) / _size;
83}
84
85double VectorOps::GetStddev(void)
86{

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected