Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
inner_product « STL Algorithms Helper « C++
C++
STL Algorithms Helper
inner_product
1.
Use inner_product to process sum of all products(0 + 1*1 + 2*2 + 3*3 + 4*4 + 5*5 + 6*6)
2.
Use inner_product to calculate inner reverse product
3.
Use inner_product with inner and outer operation
4.
inner_product( ) produces a summation of the product of corresponding elements in two sequences and returns the result.
5.
Compute the sample standard deviation