Sprout.Algorithm

Non-modifying sequence operations

Sorting

  • is_sorted
  • is_sorted_until
  • is_increasing
  • is_decreasing
  • is_strictly_increasing
  • is_strictly_decreasing

Heap operations

  • is_heap_until
  • is_heap

Minimum and maximum

  • min
  • max
  • minmax
  • min_element
  • max_element
  • minmax_element

Lexicographical comparison

  • lexicographical_compare
  • tristate_lexicographical_compare

Permutation generators

  • next_permutation
  • prev_permutation
  • is_permutation

Clamp algorithm

  • clamp