-
#include "tensorstore/index_space/transformed_array.h"
-
template <typename P, typename T>
tensorstore::TransformedArray<ElementTagType, Rank, LayoutCKind>::
TransformedArray(P&& element_pointer, T&& transform); Constructs a normalized transformed array from an element pointer and an index transform.
The domain of the transformed array is equal to the input domain of the index transform. An index vector
v
into the transformed array corresponds to the element at a byte offset ofsum(transform(v))
fromelement_pointer
.