14template <
size_t ColsV_,
typename Tuple,
typename IndexSequence>
16template <
size_t ColsV_,
typename... Ts,
size_t... RowIs>
17struct ToRowsImpl<ColsV_, std::tuple<Ts...>, std::index_sequence<RowIs...>> {
19 typename Cat<
typename std::tuple<
typename GetSubset<RowIs * ColsV_, RowIs * ColsV_ + ColsV_, 1, std::tuple<Ts...>>
::type>...>
::type;
22template <
size_t ColsV_,
typename... Ts>
23using ToRows =
ToRowsImpl<ColsV_, std::tuple<Ts...>, std::make_index_sequence<
sizeof...(Ts) / ColsV_>>;
25template <
size_t ColsV_,
typename Tuple,
typename IndexSequence>
27template <
size_t ColsV_,
typename... Ts,
size_t... ColIs>
28struct ToColsImpl<ColsV_, std::tuple<Ts...>, std::index_sequence<ColIs...>> {
32template <
size_t ColsV_,
typename... Ts>
35template <
typename Lhs,
typename Rhs,
typename IndexSequence>
37template <
typename... TsLhs,
typename... TsRhs,
size_t... Is>
38struct AddTwoTuplesImpl<std::tuple<TsLhs...>, std::tuple<TsRhs...>, std::index_sequence<Is...>> {
39 using type = std::tuple<
typename Sum<
typename std::tuple_element<Is, std::tuple<TsLhs...>>
::type,
40 typename std::tuple_element<Is, std::tuple<TsRhs...>>
::type>
::type...>;
43template <
typename Lhs,
typename Rhs>
45template <
typename... TsLhs,
typename... TsRhs>
47 static_assert(
sizeof...(TsLhs) ==
sizeof...(TsRhs),
"Tuple sizes do not match.");
51template <
typename Lhs,
typename Rhs,
typename IndexSequence>
53template <
typename... TsLhs,
typename... TsRhs,
size_t... Is>
55 using type = std::tuple<
typename Difference<
typename std::tuple_element<Is, std::tuple<TsLhs...>>
::type,
56 typename std::tuple_element<Is, std::tuple<TsRhs...>>
::type>
::type...>;
59template <
typename Lhs,
typename Rhs>
61template <
typename... TsLhs,
typename... TsRhs>
63 static_assert(
sizeof...(TsLhs) ==
sizeof...(TsRhs),
"Tuple sizes do not match.");
67template <
typename Lhs,
typename Rhs,
typename IndexSequence>
69template <
typename... TsLhs,
typename... TsRhs,
size_t... Is>
71 using type = std::tuple<
typename Product<
typename std::tuple_element<Is, std::tuple<TsLhs...>>
::type,
72 typename std::tuple_element<Is, std::tuple<TsRhs...>>
::type>
::type...>;
75template <
typename Lhs,
typename Rhs>
77template <
typename... TsLhs,
typename... TsRhs>
79 static_assert(
sizeof...(TsLhs) ==
sizeof...(TsRhs),
"Tuple sizes do not match.");
83template <
typename Lhs,
typename Rhs,
typename IndexSequence>
85template <
typename... TsLhs,
typename... TsRhs,
size_t... Is>
87 using type =
typename Sum<
typename Product<
typename std::tuple_element<Is, std::tuple<TsLhs...>>
::type,
91template <
typename Lhs,
typename Rhs>
93template <
typename... TsLhs,
typename... TsRhs>
98template <
typename Lhs,
typename Rhs,
typename IndexSequence>
100template <
typename... TuplesLhs,
typename... TuplesRhs,
size_t... Is>
101struct ContractTuples<std::tuple<TuplesLhs...>, std::tuple<TuplesRhs...>, std::index_sequence<Is...>> {
103 typename ContractTwoTuples<
typename std::tuple_element<Is /
sizeof...(TuplesRhs), std::tuple<TuplesLhs...>>
::type,
104 typename std::tuple_element<Is %
sizeof...(TuplesRhs), std::tuple<TuplesRhs...>>
::type>
::type...>;
109template <
typename MatrixSizeT_,
typename Types>
111template <
int RowsV_,
int ColsV_,
typename... Types>
113 static_assert(
sizeof...(Types) == RowsV_ * ColsV_,
"Number of types does not match matrix size.");
116template <
int RowsV_,
int ColsV_,
typename Type0,
typename... Types>
118 static_assert(
sizeof...(Types) + 1 == RowsV_ * ColsV_,
"Number of types does not match matrix size.");
121template <
int RowsV_,
int ColsV_,
typename TypeT_>
126template <
int RowsV_,
int ColsV_,
typename Types>
131template <
int RowsV_,
int ColsV_,
typename Types>
136template <
int RowsV_,
int ColsV_,
typename Types>
139 using type =
typename std::tuple_element<0, typename GetTypes<TypeMatrixImpl<MatrixSize<RowsV_, ColsV_>, Types>>
::type>
::type;
142template <
typename Types>
146template <
int RowsV_,
typename Types>
150template <
int ColsV_,
typename Types>
154template <
int RowsV_,
int ColsV_,
typename Types>
159template <
int RowsV_,
int ColsV_,
typename Types>
161 static constexpr int value = RowsV_;
164template <
int RowsV_,
int ColsV_,
typename Types>
166 static constexpr int value = ColsV_;
169template <
int RowsV_,
int ColsV_,
typename... Types,
int ElementRowIdV_,
int ElementColIdV_>
171 static_assert(internal::RequireElementInRange<MatrixSize<RowsV_, ColsV_>, ElementRowIdV_, ElementColIdV_>::value);
172 using type =
typename std::tuple_element<std::size_t{ElementRowIdV_ * ColsV_ + ElementColIdV_}, std::tuple<Types...>>::type;
175template <
int ColsV_,
int BlockRowIdV_,
int BlockColIdV_,
int BlockRowsV_,
int BlockColsV_,
typename Tuple,
typename IndexSequence>
177template <
int ColsV_,
int BlockRowIdV_,
int BlockColIdV_,
int BlockRowsV_,
int BlockColsV_,
typename... Ts,
size_t... BlockRowIs>
178struct BlockImpl<ColsV_, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_, std::tuple<Ts...>, std::index_sequence<BlockRowIs...>> {
180 typename GetSubset<(BlockRowIdV_ + BlockRowIs) * ColsV_ + BlockColIdV_,
181 (BlockRowIdV_ + BlockRowIs) * ColsV_ + BlockColIdV_ + BlockColsV_, 1, std::tuple<Ts...>>
::type...>
::type;
184template <
int RowsV_,
int ColsV_,
typename... Types,
int BlockRowIdV_,
int BlockColIdV_,
int BlockRowsV_,
int BlockColsV_>
186 static_assert(BlockRowIdV_ >= 0 && BlockColIdV_ >= 0,
"Block top left corner is out of range.");
187 static_assert(BlockRowIdV_ + BlockRowsV_ <= RowsV_ && BlockColIdV_ + BlockColsV_ <= ColsV_,
"Block bottom right corner is out of range.");
189 typename BlockImpl<ColsV_, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_, std::tuple<Types...>,
190 std::make_index_sequence<std::size_t{BlockRowsV_}>>::type>;
193template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
195 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
196 static_assert(RowsLhsV_ == RowsRhsV_,
"Matrix sizes do not match.");
197 static_assert(ColsLhsV_ == ColsRhsV_,
"Matrix sizes do not match.");
202template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
204 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
205 static_assert(RowsLhsV_ == RowsRhsV_,
"Matrix sizes do not match.");
206 static_assert(ColsLhsV_ == ColsRhsV_,
"Matrix sizes do not match.");
212template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
typename TypeRhs>
217template <
typename TypeLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
219 using type =
typename Product<TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>, TypeLhs>
::type;
222template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
typename TypeRhs>
225 using type =
typename Product<TypeMatrixImpl<MatrixSize<RowsLhsV_, ColsLhsV_>, std::tuple<TypesLhs...>>, TypeRhs>
::type;
228template <
typename TypeLhs,
int RowsRhsV_,
int ColsRhsV_,
typename Type0Rhs,
typename Type1Rhs,
typename... TypesRhs>
230 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<Type0Rhs, Type1Rhs, TypesRhs...>>> {
232 typename Product<TypeLhs, TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<Type0Rhs, Type1Rhs, TypesRhs...>>>
::type;
235template <
int RowsLhsV_,
int ColsLhsV_,
typename Type0Lhs,
typename Type1Lhs,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
236 typename Type0Rhs,
typename Type1Rhs,
typename... TypesRhs>
238 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<Type0Rhs, Type1Rhs, TypesRhs...>>> {
239 static_assert(RowsLhsV_ == RowsRhsV_,
"Matrix sizes do not match.");
240 static_assert(ColsLhsV_ == ColsRhsV_,
"Matrix sizes do not match.");
243 std::tuple<Type0Rhs, Type1Rhs, TypesRhs...>>
::type>;
246template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
248 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
249 static_assert(ColsLhsV_ == RowsRhsV_,
"Matrix sizes do not match.");
252 typename ToCols<std::size_t{ColsRhsV_}, TypesRhs...>::type,
253 std::make_index_sequence<std::size_t{RowsLhsV_ * ColsRhsV_}>>::type>;
256template <
int N,
typename T>
258 template <
typename... Args>
264 template <
typename... Args>
265 using type = std::tuple<Args...>;
268template <
int N,
typename T>
273template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
275 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
276 static_assert(std::min(RowsLhsV_, RowsRhsV_) <= 1,
277 "Hypermatrices are not supported. At least one of the matrices must be a scalar or a vector.");
278 static_assert(std::min(ColsLhsV_, ColsRhsV_) <= 1,
279 "Hypermatrices are not supported. At least one of the matrices must be a scalar or a vector.");
281 MatrixSize<RowsLhsV_ + RowsRhsV_ - 1, ColsLhsV_ + ColsRhsV_ - 1>,
290template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
292 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
293 static_assert(RowsLhsV_ == RowsRhsV_,
"Matrix sizes do not match.");
294 static_assert(ColsLhsV_ == 1,
"Dot product is only defined for vectors.");
295 static_assert(ColsRhsV_ == 1,
"Dot product is only defined for vectors.");
296 using type =
typename InnerProduct<typename Transpose<TypeMatrixImpl<MatrixSize<RowsLhsV_, ColsLhsV_>, std::tuple<TypesLhs...>>>
::type,
300template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
302 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
303 static_assert(RowsLhsV_ == 3 && RowsRhsV_ == 3 && ColsLhsV_ == 1 && ColsRhsV_ == 1,
304 "Cross product is only defined for three-dimensional vectors.");
307 std::tuple<
typename Difference<
typename Product<std::tuple_element_t<1, std::tuple<TypesLhs...>>,
308 std::tuple_element_t<2, std::tuple<TypesRhs...>>>
::type,
309 typename Product<std::tuple_element_t<2, std::tuple<TypesLhs...>>,
310 std::tuple_element_t<1, std::tuple<TypesRhs...>>>
::type>
::type,
311 typename Difference<
typename Product<std::tuple_element_t<2, std::tuple<TypesLhs...>>,
312 std::tuple_element_t<0, std::tuple<TypesRhs...>>>
::type,
313 typename Product<std::tuple_element_t<0, std::tuple<TypesLhs...>>,
314 std::tuple_element_t<2, std::tuple<TypesRhs...>>>
::type>
::type,
315 typename Difference<
typename Product<std::tuple_element_t<0, std::tuple<TypesLhs...>>,
316 std::tuple_element_t<1, std::tuple<TypesRhs...>>>
::type,
317 typename Product<std::tuple_element_t<1, std::tuple<TypesLhs...>>,
318 std::tuple_element_t<0, std::tuple<TypesRhs...>>>
::type>
::type>>;
322template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
typename TypeRhs>
327template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
typename TypeRhs>
330 using type =
typename Division<TypeMatrixImpl<MatrixSize<RowsLhsV_, ColsLhsV_>, std::tuple<TypesLhs...>>, TypeRhs>
::type;
333template <
int RowsLhsV_,
int ColsLhsV_,
typename... TypesLhs,
int RowsRhsV_,
int ColsRhsV_,
typename... TypesRhs>
335 TypeMatrixImpl<MatrixSize<RowsRhsV_, ColsRhsV_>, std::tuple<TypesRhs...>>> {
336 static_assert(RowsLhsV_ == RowsRhsV_,
"Matrix sizes do not match.");
337 static_assert(ColsLhsV_ == ColsRhsV_,
"Matrix sizes do not match.");
342template <
int RowsV_,
int ColsV_,
typename... Types>
348template <
int RowsV_,
int ColsV_,
typename... Types,
typename ExponentT_>
353template <
int RowsV_,
int ColsV_,
typename... Types>
359template <
int SizeV_,
typename ZeroType,
typename OneType,
typename IndexSequence>
361template <
int SizeV_,
typename ZeroType,
typename OneType,
size_t... Is>
367template <
int SizeV_,
typename ZeroType,
typename OneType>
369 typename DiagonalTypeMatrixImpl<SizeV_, ZeroType, OneType, std::make_index_sequence<std::size_t{SizeV_ * SizeV_}>>::type;
377template <
int RowsV_,
int ColsV_,
typename... Types>
385template <
int RowsV_,
typename... Types>
392template <
typename TypeT_>
GetSubsetImpl< Start, End, Increment, Tuple, std::make_index_sequence< std::tuple_size< Tuple >::value > > GetSubset
ToRowsImpl< ColsV_, std::tuple< Ts... >, std::make_index_sequence< sizeof...(Ts)/ColsV_ > > ToRows
decltype(std::tuple_cat(std::declval< std::array< T, std::size_t{Size}> >())) HomogeneousTuple
typename CreateTypeMatrix< 1, 1, TypeT_ >::type TypeScalar
A scalar storing a type at compile-time.
typename DiagonalTypeMatrixImpl< SizeV_, ZeroType, OneType, std::make_index_sequence< std::size_t{SizeV_ *SizeV_}> >::type DiagonalTypeMatrix
typename CreateTypeMatrix< RowsV_, ColsV_, Types... >::type TypeMatrix
A matrix storing types at compile-time.
ToColsImpl< ColsV_, std::tuple< Ts... >, std::make_index_sequence< ColsV_ > > ToCols
typename CreateTypeMatrix< RowsV_, 1, Types... >::type TypeVector
A vector storing types at compile-time.
std::tuple< typename Sum< typename std::tuple_element< Is, std::tuple< TsLhs... > >::type, typename std::tuple_element< Is, std::tuple< TsRhs... > >::type >::type... > type
typename AddTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::make_index_sequence< sizeof...(TsLhs)> >::type type
typename Cat< typename GetSubset<(BlockRowIdV_+BlockRowIs) *ColsV_+BlockColIdV_,(BlockRowIdV_+BlockRowIs) *ColsV_+BlockColIdV_+BlockColsV_, 1, std::tuple< Ts... > >::type... >::type type
TypeMatrixImpl< MatrixSize< BlockRowsV_, BlockColsV_ >, typename BlockImpl< ColsV_, BlockRowIdV_, BlockColIdV_, BlockRowsV_, BlockColsV_, std::tuple< Types... >, std::make_index_sequence< std::size_t{BlockRowsV_}> >::type > type
static constexpr int value
std::tuple< typename ContractTwoTuples< typename std::tuple_element< Is/sizeof...(TuplesRhs), std::tuple< TuplesLhs... > >::type, typename std::tuple_element< Is % sizeof...(TuplesRhs), std::tuple< TuplesRhs... > >::type >::type... > type
typename Sum< typename Product< typename std::tuple_element< Is, std::tuple< TsLhs... > >::type, typename std::tuple_element< Is, std::tuple< TsRhs... > >::type >::type... >::type type
typename ContractTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::make_index_sequence< sizeof...(TsLhs)> >::type type
std::tuple< Args... > type
typename CreateHomogeneousTupleImpl< N - 1, T >::template type< T, Args... > type
typename CreateHomogeneousTupleImpl< N, T >::template type<> type
TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, HomogeneousTuple< RowsV_ *ColsV_, TypeT_ > > type
TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< Type0, Types... > > type
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< typename Difference< typename Product< std::tuple_element_t< 1, std::tuple< TypesLhs... > >, std::tuple_element_t< 2, std::tuple< TypesRhs... > > >::type, typename Product< std::tuple_element_t< 2, std::tuple< TypesLhs... > >, std::tuple_element_t< 1, std::tuple< TypesRhs... > > >::type >::type, typename Difference< typename Product< std::tuple_element_t< 2, std::tuple< TypesLhs... > >, std::tuple_element_t< 0, std::tuple< TypesRhs... > > >::type, typename Product< std::tuple_element_t< 0, std::tuple< TypesLhs... > >, std::tuple_element_t< 2, std::tuple< TypesRhs... > > >::type >::type, typename Difference< typename Product< std::tuple_element_t< 0, std::tuple< TypesLhs... > >, std::tuple_element_t< 1, std::tuple< TypesRhs... > > >::type, typename Product< std::tuple_element_t< 1, std::tuple< TypesLhs... > >, std::tuple_element_t< 0, std::tuple< TypesRhs... > > >::type >::type > > type
TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< typename Inverse< Types >::type... > > type
The elementwise reciprocal of a matrix, like Eigen's ArrayBase::inverse() or cwiseInverse().
TypeMatrixImpl< MatrixSize< SizeV_, SizeV_ >, std::tuple< typename IfThenElse< Is %(SizeV_+1) !=0, ZeroType, OneType >::type... > > type
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsRhsV_ >, typename SubtractTwoTuples< std::tuple< TypesLhs... >, std::tuple< TypesRhs... > >::type > type
static constexpr int value
static constexpr int value
static constexpr int value
static constexpr int value
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< typename Division< TypesLhs, TypeRhs >::type... > > type
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< typename Division< TypesLhs, TypesRhs >::type... > > type
typename Division< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeRhs >::type type
typename InnerProduct< typename Transpose< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > > >::type, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > > >::type type
typename std::tuple_element< std::size_t{ElementRowIdV_ *ColsV_+ElementColIdV_}, std::tuple< Types... > >::type type
typename std::tuple_element< 0, typename GetTypes< TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, Types > >::type >::type type
Trait to select one type or another depending on a boolean. Note that both types must be defined even...
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsRhsV_ >, typename ContractTuples< typename ToRows< std::size_t{ColsLhsV_}, TypesLhs... >::type, typename ToCols< std::size_t{ColsRhsV_}, TypesRhs... >::type, std::make_index_sequence< std::size_t{RowsLhsV_ *ColsRhsV_}> >::type > type
static constexpr bool value
static constexpr bool value
std::tuple< typename Product< typename std::tuple_element< Is, std::tuple< TsLhs... > >::type, typename std::tuple_element< Is, std::tuple< TsRhs... > >::type >::type... > type
typename MultiplyTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::make_index_sequence< sizeof...(TsLhs)> >::type type
TypeMatrixImpl< MatrixSize< RowsLhsV_+RowsRhsV_ - 1, ColsLhsV_+ColsRhsV_ - 1 >, typename IfThenElse< RowsLhsV_==1, typename Cat< typename MultiplyTwoTuples< std::tuple< TypesLhs... >, typename CreateHomogeneousTuple< sizeof...(TypesLhs), TypesRhs >::type >::type... >::type, typename Cat< typename MultiplyTwoTuples< std::tuple< TypesRhs... >, typename CreateHomogeneousTuple< sizeof...(TypesRhs), TypesLhs >::type >::type... >::type >::type > type
TypeMatrixImpl< MatrixSize< RowsV_, ColsV_ >, std::tuple< typename Power< Types, ExponentT_ >::type... > > type
typename Product< TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< TypesRhs... > >, TypeLhs >::type type
typename Product< TypeLhs, TypeMatrixImpl< MatrixSize< RowsRhsV_, ColsRhsV_ >, std::tuple< Type0Rhs, Type1Rhs, TypesRhs... > > >::type type
typename Product< TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< TypesLhs... > >, TypeRhs >::type type
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, std::tuple< typename Product< TypesLhs, TypeRhs >::type... > > type
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsLhsV_ >, typename MultiplyTwoTuples< std::tuple< Type0Lhs, Type1Lhs, TypesLhs... >, std::tuple< Type0Rhs, Type1Rhs, TypesRhs... > >::type > type
static constexpr int value
std::tuple< typename Difference< typename std::tuple_element< Is, std::tuple< TsLhs... > >::type, typename std::tuple_element< Is, std::tuple< TsRhs... > >::type >::type... > type
typename SubtractTwoTuplesImpl< std::tuple< TsLhs... >, std::tuple< TsRhs... >, std::make_index_sequence< sizeof...(TsLhs)> >::type type
TypeMatrixImpl< MatrixSize< RowsLhsV_, ColsRhsV_ >, typename AddTwoTuples< std::tuple< TypesLhs... >, std::tuple< TypesRhs... > >::type > type
typename Cat< typename std::tuple< typename GetSubset< ColIs, sizeof...(Ts), ColsV_, std::tuple< Ts... > >::type >... >::type type
typename Cat< typename std::tuple< typename GetSubset< RowIs *ColsV_, RowIs *ColsV_+ColsV_, 1, std::tuple< Ts... > >::type >... >::type type
TypeMatrixImpl< MatrixSize< ColsV_, RowsV_ >, typename ExtractAndApply< Cat, typename ToCols< std::size_t{ColsV_}, Types... >::type >::type > type
A matrix of the types in the std::tuple Types, row by row, of the size MatrixSizeT_,...