Checks if a tensor is symmetric under swaps of the chosen axes.
The tensor
Distinct 0-based axes, as a sequence or one array, while an empty list selects all axes
const result = Chalkboard.tens.isSymmetric([[1, 2], [2, 1]]); // Returns true Copy
const result = Chalkboard.tens.isSymmetric([[1, 2], [2, 1]]); // Returns true
Checks if a tensor is symmetric under swaps of the chosen axes.