Documentation of 'cc.redberry.core.tensorgenerator.TensorGenerator' Java class
TensorGenerator
cc.redberry.core.tensorgenerator

Class TensorGenerator



  • public class TensorGenerator
    extends java.lang.Object
    Generates tensor of the most general form with specified free indices from specified tensors.
    Since:
    1.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static Tensor generate(SimpleIndices indices, Tensor[] samples, boolean symmetricForm, boolean withCoefficients, boolean raiseLower)
      Generates tensor of the most general form with specified free indices from specified tensors.
      static GeneratedTensor generateStructure(SimpleIndices indices, Tensor[] samples, boolean symmetricForm, boolean withCoefficients, boolean raiseLower)
      Generates tensor of the most general form with specified free indices from specified tensors.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generate

        public static Tensor generate(SimpleIndices indices,
                                      Tensor[] samples,
                                      boolean symmetricForm,
                                      boolean withCoefficients,
                                      boolean raiseLower)
        Generates tensor of the most general form with specified free indices from specified tensors.
        Parameters:
        indices - free indices of the resulting tensor
        samples - samples which used to generate tensor of the general form
        symmetricForm - specifies whether the resulting tensor should be symmetric
        withCoefficients - specifies whether each term in the result should be multiplied on arbitrary coefficient
        raiseLower - specifies whether indices of samples should be raised and lowered in the most general form
        Returns:
        tensor of the most general form with specified free indices from specified tensors
      • generateStructure

        public static GeneratedTensor generateStructure(SimpleIndices indices,
                                                        Tensor[] samples,
                                                        boolean symmetricForm,
                                                        boolean withCoefficients,
                                                        boolean raiseLower)
        Generates tensor of the most general form with specified free indices from specified tensors.
        Parameters:
        indices - free indices of the resulting tensor
        samples - samples which used to generate tensor of the general form
        symmetricForm - specifies whether the resulting tensor should be symmetric
        withCoefficients - specifies whether each term in the result should be multiplied on arbitrary coefficient
        raiseLower - specifies whether indices of samples should be raised and lowered in the most general form
        Returns:
        tensor of the most general form with specified free indices from specified tensors and array of generated coefficients

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.