cc.redberry.core.transformations.symmetrization
Class SymmetrizeTransformation
- java.lang.Object
-
- cc.redberry.core.transformations.symmetrization.SymmetrizeTransformation
-
- All Implemented Interfaces:
- Transformation
public final class SymmetrizeTransformation extends java.lang.Object implements Transformation
Gives a symmetrization of tensor with respect to specified indices under the specified symmetries.- Since:
- 1.1.6
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cc.redberry.core.transformations.Transformation
Transformation.Util
-
-
Field Summary
-
Fields inherited from interface cc.redberry.core.transformations.Transformation
INDENTITY
-
-
Constructor Summary
Constructors Constructor and Description SymmetrizeTransformation(SimpleIndices indices, boolean multiplyBySymmetryFactor)Creates transformation that makes tensors symmetric in specified indices, symmetry group of the result will be guaranteed a super group of permutation group of specified indices.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Tensortransform(Tensor t)Transforms specified tensor and returns the result.
-
-
-
Constructor Detail
-
SymmetrizeTransformation
public SymmetrizeTransformation(SimpleIndices indices, boolean multiplyBySymmetryFactor)
Creates transformation that makes tensors symmetric in specified indices, symmetry group of the result will be guaranteed a super group of permutation group of specified indices.- Parameters:
indices- simple indices with symmetriesmultiplyBySymmetryFactor- if specified, then resulting sum will be divided by its size
-
-
Method Detail
-
transform
public Tensor transform(Tensor t)
Description copied from interface:TransformationTransforms specified tensor and returns the result.- Specified by:
transformin interfaceTransformation- Parameters:
t- tensor- Returns:
- transformed tensor
-
-
DataMelt 3.0 © DataMelt by jWork.ORG