Documentation of 'cc.redberry.core.transformations.powerexpand.PowerUnfoldTransformation' Java class
PowerUnfoldTransformation
cc.redberry.core.transformations.powerexpand

Class PowerUnfoldTransformation

  • All Implemented Interfaces:
    Transformation


    public final class PowerUnfoldTransformation
    extends java.lang.Object
    implements Transformation
    Expands all powers of products and powers with respect to specified variables and unwraps powers of indexed arguments into products (e.g. (A_m*A^m)**2 -> A_m*A^m*A_a*A^a).
    Since:
    1.1.5
    • Constructor Detail

      • PowerUnfoldTransformation

        public PowerUnfoldTransformation(Indicator<Tensor> toExpandIndicator)
        Creates transformation that expands all powers of products and powers and unwraps powers of indexed arguments into products (e.g. (A_m*A^m)**2 -> A_m*A^m*A_a*A^a).
        Parameters:
        toExpandIndicator - applies only to powers that match this indicator
      • PowerUnfoldTransformation

        public PowerUnfoldTransformation(SimpleTensor[] vars)
        Creates transformation that expands all powers of products and powers with respect to specified variables and unwraps powers of indexed arguments into products (e.g. (A_m*A^m)**2 -> A_m*A^m*A_a*A^a).
        Parameters:
        vars - patterns
    • Method Detail

      • transform

        public Tensor transform(Tensor t)
        Description copied from interface: Transformation
        Transforms specified tensor and returns the result.
        Specified by:
        transform in interface Transformation
        Parameters:
        t - tensor
        Returns:
        transformed tensor

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.