beautypg.com

HP Integrity NonStop H-Series User Manual

Page 142

background image

mismatch

find first mismatch in parallel sequences

in-place transformations

Chapter 13 (

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

Chapter 13 (

Removal Algorithms

)

remove

remove elements that match condition

unique

remove all but first of duplicate values in
sequences

scalar generating algorithms

Chapter 13 (

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

Chapter 13 (

Sequence Generating Algorithms

)

transform

transform each element

partial_sum

generate sequence of partial sums

This manual is related to the following products: