#include <concepts>
#include <vector>
#include <algorithm>
#include <numeric>
Go to the source code of this file.
|
| template<std::integral T> |
| static std::vector< T > | hsc_snippets::getPrefixMax (const std::vector< T > &v) |
| | Computes the prefix maximums of a given vector.
|
| |
| template<std::integral T> |
| static std::vector< T > | hsc_snippets::getSuffixMax (const std::vector< T > &v) |
| | Computes the suffix maximums of a given vector.
|
| |
| template<std::integral T> |
| static std::vector< T > | hsc_snippets::getPrefixMin (const std::vector< T > &v) |
| | Computes the prefix minimums of a given vector.
|
| |
| template<std::integral T> |
| static std::vector< T > | hsc_snippets::getSuffixMin (const std::vector< T > &v) |
| | Computes the suffix minimums of a given vector.
|
| |
| template<std::integral T> |
| static std::vector< T > | hsc_snippets::getPrefixSum (const std::vector< T > &v) |
| | Computes the prefix sums of a given vector.
|
| |
| template<std::integral T> |
| static std::vector< T > | hsc_snippets::getSuffixSum (const std::vector< T > &v) |
| | Computes the suffix sums of a given vector.
|
| |