initializer_list.h
auto get_elem_from_il(T idx, U &&il, std::size_t depth=0)
Retrieves the specified element from an initializer_list.
Definition: initializer_list.h:259
std::initializer_list< tensor4_il< T > > tensor5_il
Definition: initializer_list.h:393
auto array_from_il(World &world, const TiledRange &trange, T &&il)
Converts an std::initializer_list into a tiled array.
Definition: initializer_list.h:315
constexpr auto initializer_list_rank_v
Helper variable for retrieving the degree of nesting for an std::initializer_list.
Definition: initializer_list.h:71
auto flatten_il(T &&il, OutputItr out_itr)
Flattens the contents of a (possibly nested) initializer_list into the provided buffer.
Definition: initializer_list.h:205
std::initializer_list< tensor5_il< T > > tensor6_il
Definition: initializer_list.h:397
std::initializer_list< matrix_il< T > > tensor3_il
Definition: initializer_list.h:385
Definition: array_impl.cpp:28
auto tiled_range_from_il(T &&il, U shape={})
Creates a TiledRange for the provided initializer list.
Definition: initializer_list.h:131
std::initializer_list< vector_il< T > > matrix_il
Definition: initializer_list.h:381
std::initializer_list< tensor3_il< T > > tensor4_il
Definition: initializer_list.h:389
Primary template for determining how many nested std::initializer_list's are in a type.
Definition: initializer_list.h:56