cc.redberry.core.tensor
Class StructureOfContractions
- java.lang.Object
-
- cc.redberry.core.tensor.StructureOfContractions
-
public final class StructureOfContractions extends java.lang.ObjectThis class represents the structure of product contraction.- Since:
- 1.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classStructureOfContractions.Contraction
-
Field Summary
Fields Modifier and Type Field and Description intcomponentCountint[]componentslong[][]contractionsstatic StructureOfContractionsEMPTY_FULL_CONTRACTIONS_STRUCTURElong[]freeContractions
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description StructureOfContractions.Contraction[]getContractedWith(int position)static shortgetFromIndexId(long contraction)static shortgetToIndexId(long contraction)static intgetToTensorIndex(long contraction)
-
-
-
Field Detail
-
EMPTY_FULL_CONTRACTIONS_STRUCTURE
public static final StructureOfContractions EMPTY_FULL_CONTRACTIONS_STRUCTURE
-
freeContractions
public final long[] freeContractions
-
contractions
public final long[][] contractions
-
components
public final int[] components
-
componentCount
public final int componentCount
-
-
Method Detail
-
getContractedWith
public StructureOfContractions.Contraction[] getContractedWith(int position)
-
getToTensorIndex
public static int getToTensorIndex(long contraction)
-
getToIndexId
public static short getToIndexId(long contraction)
-
getFromIndexId
public static short getFromIndexId(long contraction)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG