Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) std::inner_product

 

std::inner_product is an STL algorithm to calculate the inner product of one or two containers, but can be used to do other operations than (!) summing the results, and (2) multiplying the pairwise elements.

 

 

 

 

 

Exampples

 

 

 

 

 

 

External links

 

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict