HP Integrity NonStop H-Series User Manual
Page 142
![background image](/manuals/396950/142/background.png)
mismatch
find first mismatch in parallel sequences
in-place transformations
reverse
reverse the elements in a sequence
replace
replace specific values with new value
replace_if
replace elements matching predicate
rotate
rotate elements in a sequence around a point
partition
partition elements into two groups
stable_partition
partition preserving original ordering
next_permutation
generate permutations in sequence
prev_permutation
generate permutations in reverse sequence
inplace_merge
merge two adjacent sequences into one
random_shuffle
randomly rearrange elements in a sequence
removal algorithms
remove
remove elements that match condition
unique
remove all but first of duplicate values in
sequences
scalar generating algorithms
count
count number of elements matching value
count_if
count elements matching predicate
accumulate
reduce sequence to a scalar value
inner_product
inner product of two parallel sequences
equal
check two sequences for equality
lexicographical_compare
compare two sequences
sequence generating algorithms
Sequence Generating Algorithms
transform
transform each element
partial_sum
generate sequence of partial sums