Ginkgo
Generated from pipelines/1330831941 branch based on master. Ginkgo version 1.8.0
A numerical linear algebra library targeting many-core architectures
|
The Synthesizer namespace. More...
Classes | |
struct | range |
range records start, end, step in template More... | |
struct | type_list |
type_list records several types in template More... | |
struct | value_list |
value_list records several values with the same type in template. More... | |
Typedefs | |
template<typename List1 , typename List2 > | |
using | concatenate = typename detail::concatenate_impl< List1, List2 >::type |
concatenate combines two value_list into one value_list. More... | |
template<typename T > | |
using | as_list = typename detail::as_list_impl< T >::type |
as_list<T> gives the alias type of as_list_impl<T>::type. More... | |
Functions | |
template<typename T , T... Value> | |
constexpr std::array< T, sizeof...(Value)> | as_array (value_list< T, Value... > vl) |
as_array<T> returns the array from value_list. More... | |
The Synthesizer namespace.
using gko::syn::as_list = typedef typename detail::as_list_impl<T>::type |
as_list<T> gives the alias type of as_list_impl<T>::type.
It gives a list (itself) if input is already a list, or generates list type from range input.
T | list or range |
using gko::syn::concatenate = typedef typename detail::concatenate_impl<List1, List2>::type |
concatenate combines two value_list into one value_list.
List1 | the first list |
List2 | the second list |
|
constexpr |
as_array<T> returns the array from value_list.
It will be helpful if using for in runtime on the array.
T | the type of value_list |
Value | the values of value_list |
value_list | the input value_list |
References gko::array.