Package cc.redberry.core.utils

Examples of cc.redberry.core.utils.LocalSymbolsProvider


     * @return
     */
    public static Tensor factor(Tensor tensor, boolean factorScalars, FactorizationEngine factorizationEngine) {
        if (factorScalars) {
            Expression[] replacementsOfScalars = TensorUtils.generateReplacementsOfScalars(tensor,
                    new LocalSymbolsProvider(tensor, "sclr"));
            for (Expression e : replacementsOfScalars)
                tensor = e.transform(tensor);
            tensor = factorSymbolicTerms(tensor, factorizationEngine);
            for (Expression e : replacementsOfScalars)
                tensor = e.transpose().transform(tensor);
View Full Code Here


     * @return result
     */
    public static Tensor factor(Tensor tensor, boolean factorScalars, FactorizationEngine factorizationEngine) {
        if (factorScalars) {
            Expression[] replacementsOfScalars = TensorUtils.generateReplacementsOfScalars(tensor,
                    new LocalSymbolsProvider(tensor, "sclr"));
            for (Expression e : replacementsOfScalars)
                tensor = e.transform(tensor);
            tensor = factorSymbolicTerms(tensor, factorizationEngine);
            for (Expression e : replacementsOfScalars)
                tensor = e.transpose().transform(tensor);
View Full Code Here

     * @return result
     */
    public static Tensor factor(Tensor tensor, boolean factorScalars, FactorizationEngine factorizationEngine) {
        if (factorScalars) {
            Expression[] replacementsOfScalars = TensorUtils.generateReplacementsOfScalars(tensor,
                    new LocalSymbolsProvider(tensor, "sclr"));
            for (Expression e : replacementsOfScalars)
                tensor = e.transform(tensor);
            tensor = factorSymbolicTerms(tensor, factorizationEngine);
            for (Expression e : replacementsOfScalars)
                tensor = e.transpose().transform(tensor);
View Full Code Here

TOP

Related Classes of cc.redberry.core.utils.LocalSymbolsProvider

Copyright © 2018 www.massapicom. 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.