#include "tensorstore/array.h"
template <typename ElementTagA,
         
 DimensionIndex RankA,
         
 ArrayOriginKind OKindA,
         
 ContainerKind CKindA,
         
 typename ElementTagB,
         
 DimensionIndex RankB,
         
 ArrayOriginKind OKindB,
         
 ContainerKind CKindB>
bool tensorstore::AreArraysEqual(
    
const Array<ElementTagA, RankA, OKindA, CKindA>a,
    
const Array<ElementTagB, RankB, OKindB, CKindB>b,
    
EqualityComparisonKind kind = EqualityComparisonKind::equal);
template <typename ElementTagA,
         
 DimensionIndex RankA,
         
 ArrayOriginKind OKindA,
         
 ContainerKind CKindA,
         
 typename ElementTagB,
         
 DimensionIndex RankB,
         
 ArrayOriginKind OKindB,
         
 ContainerKind CKindB>
bool tensorstore::AreArraysIdenticallyEqual(
    
const Array<ElementTagA, RankA, OKindA, CKindA>a,
    
const Array<ElementTagB, RankB, OKindB, CKindB>b);

Compares two arrays for equality.

Checks that the data types, domains, and content are equal.

membergoup Comparison