TensorStore
tensorstore::Box<Rank>::operator()
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
            • Data members
            • Types
            • Constructors
            • Methods
              • Foperator=
              • Frank
              • Foperator[]
              • Foperator()
            • Accessors
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
          • VIsIndexArray
          • CDimExpression
          • Alignment
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #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.

    Back to top
    Previous tensorstore::Box<Rank>::operator[]
    Next tensorstore::Box<Rank>::origin