/** * Makes simple tensor symmetric. * * @param tensor simple tensor * @throws java.lang.IllegalStateException if this tensor is already in use (it's permutation group calculated) */ public static void setSymmetric(SimpleTensor tensor) { tensor.getIndices().getSymmetries().setSymmetric(); }