Struct TensorBlockCompare

Struct Documentation

struct TensorBlockCompare

Comparator that identifies Tensors only by their “block”, which is defined by its name, the amount of its indices as well as the space these indices belong to. Note that it explicitly does not depend on the explicit index labelling.

Public Functions

bool operator()(const Tensor &lhs, const Tensor &rhs) const