|
OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
|
Most frequent value. More...
Public Member Functions | |
| T | operator() (T s0, T s1, T s2, T s3, T s4, T s5, T s6, T s7, int, int, int) |
Static Public Attributes | |
| static const LodAlgorithm | algorithm = LodAlgorithm::DecimateSkipNaN |
Most frequent value.
Return the value that occurs most frequently in the input. If there is a tie, return the first one. NaN or 0 are returned if and only if all inputs have this value. If the input is a mix of 0 and NaN only, the result is 0.
Since there are tests for equality, this algorithm probably only makes sense for integral data.
1.8.17