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

◆ cartesian_producer

struct kumi::function::cartesian_product_t kumi::function::cartesian_producer
constevalnoexcept

#include <kumi/functional/indexable.hpp>

Callable object computing the index map associated to the cartesian product operation.

Header file

#include <kumi/functional/indexable.hpp>

Call Signature

template<typename... Shapes>
consteval auto cartesian_producer(Shapes... shapes) noexcept;
struct kumi::function::cartesian_product_t cartesian_producer
Callable object computing the index map associated to the cartesian product operation.

Parameters

  • shapes...: Compile-time sizes representing the dimensions of the inputs to build a product from

Return value

A kumi::projection_map handling cartesian index unflattening transformations.