cc.redberry.core.transformations.powerexpand
Class PowerExpandTransformation
- java.lang.Object
-
- cc.redberry.core.transformations.powerexpand.PowerExpandTransformation
-
- All Implemented Interfaces:
- Transformation
public final class PowerExpandTransformation extends java.lang.Object implements Transformation
Expands all powers of products and powers with respect to specified variables.- Since:
- 1.1.5
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cc.redberry.core.transformations.Transformation
Transformation.Util
-
-
Field Summary
Fields Modifier and Type Field and Description static PowerExpandTransformationPOWER_EXPAND_TRANSFORMATION-
Fields inherited from interface cc.redberry.core.transformations.Transformation
INDENTITY
-
-
Constructor Summary
Constructors Constructor and Description PowerExpandTransformation(Indicator<Tensor> toExpandIndicator)Creates PowerExpand transformation that expands all powers of products expanding powers matching specified indicator.PowerExpandTransformation(SimpleTensor... vars)Creates PowerExpand transformation that expands all powers of products expands only with respect to the specified simple tensors.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Tensortransform(Tensor t)Transforms specified tensor and returns the result.
-
-
-
Field Detail
-
POWER_EXPAND_TRANSFORMATION
public static final PowerExpandTransformation POWER_EXPAND_TRANSFORMATION
-
-
Constructor Detail
-
PowerExpandTransformation
public PowerExpandTransformation(Indicator<Tensor> toExpandIndicator)
Creates PowerExpand transformation that expands all powers of products expanding powers matching specified indicator.- Parameters:
toExpandIndicator- pattern
-
PowerExpandTransformation
public PowerExpandTransformation(SimpleTensor... vars)
Creates PowerExpand transformation that expands all powers of products expands only with respect to the specified simple tensors.- Parameters:
vars- simple tensors
-
-
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