MCPcopy Create free account
hub / github.com/catboost/catboost / Accumulate

Function Accumulate

util/generic/algorithm.h:451–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449
450template <typename It, typename Val>
451constexpr Val Accumulate(It begin, It end, Val val) {
452 // std::move since C++20
453 return std::accumulate(begin, end, std::move(val));
454}
455
456template <typename It, typename Val, typename BinOp>
457constexpr Val Accumulate(It begin, It end, Val val, BinOp binOp) {

Callers 15

FlushPacketsMethod · 0.85
Y_UNIT_TESTFunction · 0.85
SLRTestFunction · 0.85
LinearRegressionTestFunction · 0.85
TESTFunction · 0.85
AccumulateAtMethod · 0.85
AccumulateAtMethod · 0.85
AccumulateAtMethod · 0.85
AccumulateAtMethod · 0.85
AccumulateAtMethod · 0.85
AccumulateAtMethod · 0.85

Calls 4

beginFunction · 0.70
endFunction · 0.70
accumulateFunction · 0.50
moveFunction · 0.50