kennen:include:numeric
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— | kennen:include:numeric [2021-07-31 11:48] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== < | ||
+ | |||
+ | ===== Funktionen ===== | ||
+ | |||
+ | <code cpp> | ||
+ | CommonType gcd (M m, N n) // C++17 | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | CommonType lcm (M m, N n) // C++17 | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | T accumulate (In first, In last, T startwert) | ||
+ | T accumulate (In first, In last, T startwert, Binary op) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | void iota (For first, For last, T startwert) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | Out partial_sum (In first, In last, Out result) | ||
+ | Out partial_sum (In first, In last, Out result, Binary op) | ||
+ | </ | ||
+ | [[..: | ||
+ | Legt die Partialsummenfolge der Sequenz [first, | ||
+ | |||
+ | <code cpp> | ||
+ | Out adjacent_difference (In first, In last, Out result) | ||
+ | Out adjacent_difference (In first, In last, Out result, Binary op) | ||
+ | |||
+ | Out adjacent_difference (Exec pol, In first, In last, Out result) | ||
+ | Out adjacent_difference (Exec pol, In first, In last, Out result, Binary op) | ||
+ | </ | ||
+ | [[..: | ||
+ | Legt die benachbarten Differenzen der Sequenz [first, | ||
+ | |||
+ | <code cpp> | ||
+ | T inner_product (In first, In last, In2 first2, T startwert) | ||
+ | T inner_product (In first, In last, In2 first2, T startwert, | ||
+ | | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | T reduce (In first, In last) | ||
+ | T reduce (In first, In last, T startwert) | ||
+ | T reduce (In first, In last, T startwert, Binary op) | ||
+ | |||
+ | T reduce (Exec pol, In first, In last) | ||
+ | T reduce (Exec pol, In first, In last, T startwert) | ||
+ | T reduce (Exec pol, In first, In last, T startwert, Binary op) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | |||
+ | <code cpp> | ||
+ | T transform_reduce (In first, In last, T startwert, Binary op, Unary f) | ||
+ | T transform_reduce (In first, In last, In first2, T startwert) | ||
+ | T transform_reduce (In first, In last, In first2, T startwert, Binary op, Binary op2) | ||
+ | |||
+ | T transform_reduce (Exec pol, In first, In last, T startwert, Binary op, Unary f) | ||
+ | T transform_reduce (Exec pol, In first, In last, In first2, T startwert) | ||
+ | T transform_reduce (Exec pol, In first, In last, In first2, T startwert, Binary op, Binary op2) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | mit den Ergebnissen der Funktion f für alle Werte des Bereiches [first, | ||
+ | das " | ||
+ | | ||
+ | Die Reihenfolge der " | ||
+ | |||
+ | <code cpp> | ||
+ | T inclusive_scan (In first, In last, Out result) | ||
+ | T inclusive_scan (In first, In last, Out result, Binary op) | ||
+ | T inclusive_scan (In first, In last, Out result, Binary op, T startwert) | ||
+ | |||
+ | T inclusive_scan (Exec pol, In first, In last, Out result) | ||
+ | T inclusive_scan (Exec pol, In first, In last, Out result, Binary op) | ||
+ | T inclusive_scan (Exec pol, In first, In last, Out result, Binary op, T startwert) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | | ||
+ | Die Reihenfolge der " | ||
+ | |||
+ | <code cpp> | ||
+ | T exclusive_scan (In first, In last, Out result, T startwert) | ||
+ | T exclusive_scan (In first, In last, Out result, T startwert, Binary op) | ||
+ | |||
+ | T exclusive_scan (Exec pol, In first, In last, Out result, T startwert) | ||
+ | T exclusive_scan (Exec pol, In first, In last, Out result, T startwert, Binary op) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | | ||
+ | Die Reihenfolge der " | ||
+ | |||
+ | <code cpp> | ||
+ | T transform_inclusive_scan (In first, In last, Out result, Binary op, Unary f) | ||
+ | T transform_inclusive_scan (In first, In last, Out result, Binary op, Unary f, T startwert) | ||
+ | |||
+ | T transform_inclusive_scan (Exec pol, In first, In last, Out result, Binary op, Unary f) | ||
+ | T transform_inclusive_scan (Exec pol, In first, In last, Out result, Binary op, Unary f, T startwert) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | mit den Ergebnissen der Funktion f für alle Werte des Bereiches [first, | ||
+ | | ||
+ | Die Reihenfolge der " | ||
+ | |||
+ | <code cpp> | ||
+ | T transform_exclusive_scan (In first, In last, Out result, T startwert, Binary op, Unary f) | ||
+ | |||
+ | T transform_exclusive_scan (Exec pol, In first, In last, Out result, T startwert, Binary op, Unary f) | ||
+ | </ | ||
+ | [[..: | ||
+ | | ||
+ | mit den Ergebnissen der Funktion f | ||
+ | für alle Werte des Bereiches [first, | ||
+ | | ||
+ | Die Reihenfolge der " | ||
+ | |||
+ | |||
+ | |||
+ | ==== Siehe auch ==== | ||
+ | [[algorithm]] | ||
+ | |||
+ | |||
kennen/include/numeric.txt · Zuletzt geändert: 2021-07-31 11:48 von 127.0.0.1