Operator operator ==
operator ==(TensorIndex, TensorIndex)
Compares two TensorIndex
objects
Two TensorIndices are equal if they have the same rank and all their dimensions are equal
Declaration
public static bool operator ==(TensorIndex a, TensorIndex b)
Parameters
Type | Name | Description |
---|---|---|
TensorIndex | a | The first tensor index to compare. |
TensorIndex | b | The second tensor index to compare. |
Returns
Type | Description |
---|---|
bool | Whether the tensor indexes are equal. |