cc.redberry.core.transformations.expand
Class ExpandNumeratorTransformation
- java.lang.Object
-
- cc.redberry.core.transformations.expand.AbstractExpandNumeratorDenominatorTransformation
-
- cc.redberry.core.transformations.expand.ExpandNumeratorTransformation
-
- All Implemented Interfaces:
- Transformation
public final class ExpandNumeratorTransformation extends AbstractExpandNumeratorDenominatorTransformation
Expands out products and powers that appear as numerators 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 ExpandNumeratorTransformationEXPAND_NUMERATORThe default instance.-
Fields inherited from interface cc.redberry.core.transformations.Transformation
INDENTITY
-
-
Constructor Summary
Constructors Constructor and Description ExpandNumeratorTransformation(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 TensorexpandNumerator(Tensor tensor)Expands out products and powers that appear as numerators of tensor.static TensorexpandNumerator(Tensor tensor, Transformation... transformations)Expands out products and powers that appear as numerators 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_NUMERATOR
public static final ExpandNumeratorTransformation EXPAND_NUMERATOR
The default instance.
-
-
Constructor Detail
-
ExpandNumeratorTransformation
public ExpandNumeratorTransformation(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
-
expandNumerator
public static Tensor expandNumerator(Tensor tensor)
Expands out products and powers that appear as numerators of tensor.- Parameters:
tensor- tensor to be transformed- Returns:
- result
-
expandNumerator
public static Tensor expandNumerator(Tensor tensor, Transformation... transformations)
Expands out products and powers that appear as numerators 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