if (generatedTensors.isEmpty())
return TensorNumber.createZERO();
if (generatedTensors.size() == 1)
return generatedTensors.get(0);
if (multiplyFactorial) {
TensorNumber num = new TensorNumber(new ComplexElement(new NumberFraction(1, generatedTensors.size()), RationalElement.ZERO));
return new Product(num, new Sum(generatedTensors).equivalent());
} else
return new Sum(generatedTensors).equivalent();
}