Package cc.redberry.core.tensor

Examples of cc.redberry.core.tensor.Minus


    @Override
    public Tensor transform(Tensor tensor) {
        if (tensor instanceof Product) {
            for (Tensor t : tensor)
                if (t instanceof TensorNumber && ((TensorNumber) t).factorOutSign())
                    return new Minus(RemoveOneFromProduct.INSTANCE.transform(tensor));
        }
        return tensor;
    }
View Full Code Here

TOP

Related Classes of cc.redberry.core.tensor.Minus

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.