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

Function InnerProduct

util/generic/algorithm.h:475–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473
474template <typename It1, typename It2, typename Val>
475constexpr Val InnerProduct(It1 begin1, It1 end1, It2 begin2, Val val) {
476 return std::inner_product(begin1, end1, begin2, val);
477}
478
479template <typename It1, typename It2, typename Val, typename BinOp1, typename BinOp2>
480constexpr Val InnerProduct(It1 begin1, It1 end1, It2 begin2, Val val, BinOp1 binOp1, BinOp2 binOp2) {

Callers 5

TOptimizationStateMethod · 0.85
MakeUnimodalFunction · 0.85
PredictionMethod · 0.85
Y_UNIT_TESTFunction · 0.85
LinearRegressionTestFunction · 0.85

Calls 4

inner_productFunction · 0.50
value_typeFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected