tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
ElementType.hpp
Go to the documentation of this file.
1#ifndef TATAMI_ELEMENTTYPE_HPP
2#define TATAMI_ELEMENTTYPE_HPP
3
9namespace tatami {
10
16template<class Array_>
17using ElementType = typename std::remove_cv<typename std::remove_reference<decltype(std::declval<Array_>()[0])>::type>::type;
18
19}
20
21#endif
Flexible representations for matrix data.
Definition Extractor.hpp:15
typename std::remove_cv< typename std::remove_reference< decltype(std::declval< Array_ >()[0])>::type >::type ElementType
Definition ElementType.hpp:17
auto consecutive_extractor(const Matrix< Value_, Index_ > *mat, bool row, Index_ iter_start, Index_ iter_length, Args_ &&... args)
Definition consecutive_extractor.hpp:35