Package cc.redberry.core.tensorgenerator
Facilities for generating tensor of the most general
form with specified free indices from specified tensors.
See: Description
-
Class Summary Class Description GeneratedTensor TensorGenerator Generates tensor of the most general form with specified free indices from specified tensors.TensorGeneratorUtils
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:
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