Examples of renameIndicesAndBuidKroneckers()


Examples of cc.redberry.transformation.contractions.UncontractIndices.renameIndicesAndBuidKroneckers()

    }

    private void initialize() {
        UncontractIndices uncontractIndicesTransformation =
                new UncontractIndices(TensorUtils.getAllIndicesNames(factoredOut));
        term = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(term);
        factoredOut.add(uncontractIndicesTransformation.getKroneckers());
        factorsIndicesNames = new IntArrayBuffer(TensorUtils.getAllIndicesNames(factoredOut));
        termIndicesNames = new IntArrayList(TensorUtils.getAllIndicesNames(term));
        //TODO investigate cloning
        //factors.addAll(factoredOut.clone());
View Full Code Here

Examples of cc.redberry.transformation.contractions.UncontractIndices.renameIndicesAndBuidKroneckers()

    }

    private void initialize() {
        UncontractIndices uncontractIndicesTransformation =
                new UncontractIndices(TensorUtils.getAllIndicesNames(factoredOut));
        term = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(term);
        factoredOut.add(uncontractIndicesTransformation.getKroneckers());
        factorsIndicesNames = new IntArrayBuffer(TensorUtils.getAllIndicesNames(factoredOut));
        termIndicesNames = new IntArrayList(TensorUtils.getAllIndicesNames(term));
        //TODO investigate cloning
        //factors.addAll(factoredOut.clone());
View Full Code Here

Examples of cc.redberry.transformation.contractions.UncontractIndices.renameIndicesAndBuidKroneckers()

                    continue OUT_FOR;
                }

            UncontractIndices uncontractIndicesTransformation =
                    new UncontractIndices(TensorUtils.getAllIndicesNames(split.factoredOut));
            split.collectedTerm = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(split.collectedTerm);
            split.factoredOut.add(uncontractIndicesTransformation.getKroneckers());

            CollectedTerm newTerm = new CollectedTerm(split.collectedTerm, split.factoredOut);
            collectedTerms.add(newTerm);
        }
View Full Code Here

Examples of cc.redberry.transformation.contractions.UncontractIndicesAndRename.renameIndicesAndBuidKroneckers()

        //main rountine

        UncontractIndicesAndRename uncontractIndicesTransformation =
                new UncontractIndicesAndRename(TensorUtils.getAllIndicesNames(split.factoredOut),
                termIndicesNames.toArray());
        split.term = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(split.term);
        List<Tensor> generatedKroneckers = uncontractIndicesTransformation.getKroneckers();
        split.factoredOut.add(generatedKroneckers);


        //renaming indices of toCollect tensor
View Full Code Here

Examples of cc.redberry.transformation.contractions.UncontractIndicesAndRename.renameIndicesAndBuidKroneckers()

        //main rountine

        UncontractIndicesAndRename uncontractIndicesTransformation =
                new UncontractIndicesAndRename(TensorUtils.getAllIndicesNames(split.factoredOut),
                termIndicesNames.toArray());
        split.term = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(split.term);
        List<Tensor> generatedKroneckers = uncontractIndicesTransformation.getKroneckers();
        split.factoredOut.add(generatedKroneckers);


        //renaming indices of toCollect tensor
View Full Code Here

Examples of cc.redberry.transformation.contractions.UncontractIndicesAndRename.renameIndicesAndBuidKroneckers()

                if (TTest.testEqualstensorStructure(collectedTerm.collectedItem, split.collectedTerm)) {
                    //main rountine
                    UncontractIndicesAndRename uncontractIndicesTransformation =
                            new UncontractIndicesAndRename(TensorUtils.getAllIndicesNames(split.factoredOut),
                            collectedTerm.collectedTermIndicesNames.toArray());
                    split.collectedTerm = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(split.collectedTerm);
                    List<Tensor> generatedKroneckers = uncontractIndicesTransformation.getKroneckers();
                    split.factoredOut.add(generatedKroneckers);


                    //renaming indices of toCollect tensor
View Full Code Here

Examples of cc.redberry.transformation.contractions.UncontractIndicesAndRename.renameIndicesAndBuidKroneckers()

                    continue OUT_FOR;
                }

            UncontractIndices uncontractIndicesTransformation =
                    new UncontractIndices(TensorUtils.getAllIndicesNames(split.factoredOut));
            split.collectedTerm = uncontractIndicesTransformation.renameIndicesAndBuidKroneckers(split.collectedTerm);
            split.factoredOut.add(uncontractIndicesTransformation.getKroneckers());

            CollectedTerm newTerm = new CollectedTerm(split.collectedTerm, split.factoredOut);
            collectedTerms.add(newTerm);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.