inner_product « STL Algorithms Helper « C++ Tutorial





32.10.inner_product
32.10.1.Use inner_product to process sum of all products(0 + 1*1 + 2*2 + 3*3 + 4*4 + 5*5 + 6*6)
32.10.2.Use inner_product to calculate inner reverse product
32.10.3.Use inner_product with inner and outer operation