#include "tensorstore/index_interval.h"
Result<IndexInterval>
tensorstore::GetAffineTransformRange(IndexInterval interval,
                                     
Index offset,
                                     
Index multiplier);

Computes the range of the affine-transformed domain interval.

Parameters:
IndexInterval interval

The domain to be transformed.

Index offset

The offset by which to shift the multiplied interval.

Index multiplier

The multiplier by which to multiply interval.

Error absl::StatusCode::kInvalidArgument:

if the result interval cannot be represented.