Documentation of 'cc.redberry.core.transformations.fractions.TogetherTransformation' Java class
TogetherTransformation
cc.redberry.core.transformations.fractions

Class TogetherTransformation

  • All Implemented Interfaces:
    Transformation


    public final class TogetherTransformation
    extends java.lang.Object
    implements Transformation
    Puts terms in a sum over a common denominator.
    Since:
    1.0
    • Constructor Detail

      • TogetherTransformation

        public TogetherTransformation(Transformation factor)
      • TogetherTransformation

        public TogetherTransformation()
    • 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
      • together

        public static Tensor together(Tensor t)
        Puts terms in a sum over a common denominator.
        Parameters:
        t - tensor
        Returns:
        result
      • together

        public static Tensor together(Tensor t,
                                      Transformation factor)
        Puts terms in a sum over a common denominator and cancels factors in the result if specified.
        Parameters:
        t - tensor
        factor - factor transformation
        Returns:
        result
      • together

        public static Tensor together(Tensor t,
                                      boolean doFactor)
        Puts terms in a sum over a common denominator and cancels factors in the result if specified.
        Parameters:
        t - tensor
        doFactor - specifies whether to cancel factors in the result
        Returns:
        result

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.