KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches

◆ splitter

struct kumi::function::split_t kumi::function::splitter
constevalnoexcept

#include <kumi/functional/indexable.hpp>

Callable object computing underlying index sequences of the input domain divided in two parts.

Header file

#include <kumi/functional/indexable.hpp>

Call Signature

template<typename N, typename Size>
consteval auto splitter(N n, Size s) noexcept;
struct kumi::function::split_t splitter
Callable object computing underlying index sequences of the input domain divided in two parts.

Parameters

  • n: Midpoint split pivot
  • s: Size of the input domain to split

Return value

A kumi::projection_map tracking partitioned left and right index segments.