Examples of ZeroSimpleTensorSubstitution


Examples of cc.redberry.transformation.substitutions.ZeroSimpleTensorSubstitution

    public static Transformation createSubstitution(Tensor from, Tensor to) {
        if (TensorNumber.isZero(to)) {
            if (!(from instanceof SimpleTensor))
                throw new UnsupportedOperationException();
            return new ZeroSimpleTensorSubstitution((SimpleTensor) from, CC.withMetric());
        }
        return createSubstitution(from, to, CC.withMetric());
    }
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.