TensorStore
tensorstore::ComposeOptionalTransforms
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
            • Data members
            • Constructors
            • Methods
            • Accessors
            • Friend functions
            • Related Types
            • Related Constants
            • Related Functions
              • FComposeTransforms
              • FComposeOptionalTransforms
              • FGetBoxDomainOf
              • FInverseTransform
              • FValidateIndexArrayBounds
              • FGetOutputRange
              • FPropagateInputDomainResizeToOutput
              • FWithImplicitDimensions
            • Identity transform
            • Bounds propagation
          • 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/index_space/index_transform.h"
    Result<IndexTransform<>>
    tensorstore::ComposeOptionalTransforms(IndexTransform<> b_to_c,
                                           
    IndexTransform<> a_to_b);

    Composes two index transforms, which may be null.

    • If a_to_b is null, returns b_to_c.

    • If b_to_c is null, returns a_to_b.

    • Otherwise, returns ComposeTransforms(b_to_c, a_to_b).

    Back to top
    Previous tensorstore::ComposeTransforms
    Next tensorstore::GetBoxDomainOf[IndexTransform]