MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / median

Method median

pose_graph/include/utils/Accumulator.h:115–118  ·  view source on GitHub ↗

------------------------------------------------------------------------ */

Source from the content-addressed store, hash-verified

113
114 /* ------------------------------------------------------------------------ */
115 inline SumType median() const {
116 CHECK_GT(samples_.size(), 0);
117 return samples_.at(std::ceil(samples_.size() / 2) - 1);
118 }
119
120 /* ------------------------------------------------------------------------ */
121 // First quartile.

Callers 1

MedianMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected