cc.redberry.core.transformations.expand
Class ExpandDenominatorTransformation
- java.lang.Object
-
- cc.redberry.core.transformations.expand.AbstractExpandNumeratorDenominatorTransformation
-
- cc.redberry.core.transformations.expand.ExpandDenominatorTransformation
-
- All Implemented Interfaces:
- Transformation
public final class ExpandDenominatorTransformation extends AbstractExpandNumeratorDenominatorTransformation
Expands out products and powers that appear as denominators in expressions.- Since:
- 1.0
-
-
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 ExpandDenominatorTransformationEXPAND_DENOMINATORThe default instance.-
Fields inherited from interface cc.redberry.core.transformations.Transformation
INDENTITY
-
-
Constructor Summary
Constructors Constructor and Description ExpandDenominatorTransformation(Transformation[] transformations)Creates expand transformation with specified additional transformations to be applied after each step of expand.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static TensorexpandDenominator(Tensor tensor)Expands out products and powers that appear as denominators of tensor.static TensorexpandDenominator(Tensor tensor, Transformation... transformations)Expands out products and powers that appear as denominators of tensor and applies specified transformations after each step of expand.-
Methods inherited from class cc.redberry.core.transformations.expand.AbstractExpandNumeratorDenominatorTransformation
transform
-
-
-
-
Field Detail
-
EXPAND_DENOMINATOR
public static final ExpandDenominatorTransformation EXPAND_DENOMINATOR
The default instance.
-
-
Constructor Detail
-
ExpandDenominatorTransformation
public ExpandDenominatorTransformation(Transformation[] transformations)
Creates expand transformation with specified additional transformations to be applied after each step of expand.- Parameters:
transformations- transformations to be applied after each step of expand
-
-
Method Detail
-
expandDenominator
public static Tensor expandDenominator(Tensor tensor)
Expands out products and powers that appear as denominators of tensor.- Parameters:
tensor- tensor to be transformed- Returns:
- result
-
expandDenominator
public static Tensor expandDenominator(Tensor tensor, Transformation... transformations)
Expands out products and powers that appear as denominators of tensor and applies specified transformations after each step of expand.- Parameters:
tensor- tensor to be transformed- Returns:
- result
-
-
DataMelt 3.0 © DataMelt by jWork.ORG