-
#include "tensorstore/box.h"
-
template <typename Transformable>
auto tensorstore::Box<Rank>::operator()(
Transformable&& transformable) const; Slices a type with an index domain a box.
Example:
TENSORSTORE_ASSIGN_OR_RETURN(auto new_obj, obj | box);
Supported types include
IndexTransform
,IndexDomain
,TensorStore
,Spec
,TransformedArray
.