5#include <vitrio/array/array_descriptor.hpp>
6#include <vitrio/array/const_array.hpp>
7#include <vitrio/byte.hpp>
8#include <vitrio/export.hpp>
9#include <vitrio/span.hpp>
16class array_implementation;
65 std::shared_ptr<
void> owner,
128 std::shared_ptr<const array_implementation> implementation
131 std::shared_ptr<const array_implementation> m_implementation;
How a block of memory is read as a multidimensional array.
Definition array_descriptor.hpp:31
A multidimensional array of numbers in host memory.
Definition array.hpp:37
const_array share_const() const noexcept
Make a read-only array over the same memory.
array share() noexcept
Make another array over the same memory.
byte * get_data() noexcept
Get the memory holding the elements.
const array_descriptor & get_descriptor() const noexcept
Get how the memory is read as an array.
array() noexcept
Construct an array that holds nothing.
A multidimensional array of numbers that cannot be written through.
Definition const_array.hpp:29
A view of a contiguous sequence of elements.
Definition span.hpp:29