Documentation of 'cc.redberry.core.tensorgenerator.package-summary' Java class
cc.redberry.core.tensorgenerator

Package cc.redberry.core.tensorgenerator

Facilities for generating tensor of the most general form with specified free indices from specified tensors.

See: Description

Package cc.redberry.core.tensorgenerator Description

Facilities for generating tensor of the most general form with specified free indices from specified tensors.
Consider the example:

     Tensor[] samples = Tensors.parse("g_mn", "g^mn", "d_m^n");
     Tensor t = TensorGenerator.generate("c", ParserIndices.parseSimple("_{mnab}"), false, samples);
     System.out.println(t);
 
This code produces

  c1*g_mn*g_ab + c2*g_ma*g_nb + c3*g_mb*gna
 

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.