HP Integrity NonStop H-Series User Manual
Page 62
![background image](/manuals/396950/62/background.png)
Copy one sequence into another
copy
Copy values from a generator into a vector
generate
Find an element that matches a condition
find
Find consecutive duplicate elements
adjacent_find
Find a subsequence within a vector
search
Locate maximum or minimum element
max_element, min_element
Reverse order of elements
reverse
Replace elements with new values
replace
Rotate elements around a midpoint
rotate
Partition elements into two groups
partition
Generate permutations
next_permutation
Inplace merge within a vector
inplace_merge
Randomly shuffle elements in vector
random_shuffle
Count number of elements that satisfy condition count
Reduce vector to a single value
accumulate
Inner product of two vectors
inner_product
Test two vectors for pair-wise equality
equal
Lexical comparison
lexicographical_compare
Apply transformation to a vector
transform
Partial sums of values
partial_sum
Adjacent differences of value
adjacent_difference
Execute function on each element
for_each