Contents Menu Expand Light mode Dark mode Auto light/dark mode
Parrot documentation
Logo
Parrot

Methods

Fused

1-index Maps (Unary)

  • ⭐ map
  • abs
  • dble
  • enumerate
  • even
  • half
  • log
  • exp
  • neg
  • odd
  • rand
  • sign
  • sq
  • sqrt

1-index Maps (Binary)

  • ⭐ map2
  • add (+)
  • div (/)
  • gt (>)
  • gte (>=)
  • idiv
  • lt (<)
  • lte (<=)
  • max
  • min
  • minus (-)
  • times (*)
  • eq (==)
  • pairs

2-index Maps

  • ⭐ map_adj
  • deltas
  • differ

Joins

  • append
  • prepend

Products

  • cross
  • outer

Reshapes

  • take
  • drop
  • transpose
  • reshape
  • cycle
  • repeat

Copying

  • replicate

Permutations

  • rev
  • gather

Conditionally Fused

Compactions

  • ⭐ keep
  • filter
  • where
  • uniq
  • distinct

Materializing

Reductions

  • ⭐ reduce
  • all
  • any
  • maxr
  • max_by_key
  • minr
  • minmax
  • prod
  • sum

Scans

  • ⭐ scan
  • alls
  • anys
  • maxs
  • mins
  • prods
  • sums

Permutations

  • sort
  • sort_by
  • sort_by_key

Compactions

  • rle

Copying

  • replicate

Split-Reductions

  • chunk_by_reduce

Comparisons

  • match

Properties

  • size
  • rank
  • shape

Accessors

  • value
  • front
  • back
  • to_host

Array Creation

  • array
  • range
  • scalar
  • matrix

I/O

  • print

Function Objects

Accessors

  • fst
  • snd

Binary Operations

  • eq
  • gt
  • gte
  • lt
  • lte
  • max
  • min
  • mul
  • add

Statistical Functions

  • norm_cdf
  • mode
Back to top
Edit this page

Template Struct minmax_unary_op#

  • Defined in File parrot.hpp

Template Parameter Order#

  1. `typename <exhale_struct_structparrot_1_1binary__op__adapter_>`_

Struct Documentation#

template<typename T>
struct minmax_unary_op#

Public Functions

inline auto operator()(const T &x) const -> minmax_pair<T>#
Copyright ©
Made with Sphinx and @pradyunsg's Furo
On this page
  • Template Struct minmax_unary_op
    • Template Parameter Order
    • Struct Documentation