MCPcopy Create free account
hub / github.com/PDAL/PDAL / sampleVariance

Function sampleVariance

filters/StatsFilter.hpp:75–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 double populationVariance() const
74 { return M2 / m_cnt; }
75 double sampleVariance() const
76 { return M2 / (m_cnt - 1.0); }
77 double variance() const
78 { return sampleVariance(); }
79 double populationStddev() const

Callers 3

varianceFunction · 0.85
sampleStddevFunction · 0.85
extractMetadataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected