1#ifndef TATAMI_ARRAY_VIEW_HPP
2#define TATAMI_ARRAY_VIEW_HPP
38 size_t size()
const {
return my_number; }
43 const T*
data()
const {
return my_ptr; }
48 const T*
begin()
const {
return my_ptr; }
53 const T*
end()
const {
return my_ptr + my_number; }
View into a pre-allocated array.
Definition ArrayView.hpp:21
T operator[](size_t i) const
Definition ArrayView.hpp:59
const T * begin() const
Definition ArrayView.hpp:48
const T * data() const
Definition ArrayView.hpp:43
ArrayView()
Definition ArrayView.hpp:33
size_t size() const
Definition ArrayView.hpp:38
const T * end() const
Definition ArrayView.hpp:53
ArrayView(const T *ptr, size_t number)
Definition ArrayView.hpp:28
Flexible representations for matrix data.
Definition Extractor.hpp:15
auto consecutive_extractor(const Matrix< Value_, Index_ > *mat, bool row, Index_ iter_start, Index_ iter_length, Args_ &&... args)
Definition consecutive_extractor.hpp:35