Package cc.redberry.core.tensor

Examples of cc.redberry.core.tensor.TensorNumber.divide()


            return tensor;
        Fraction fraction = (Fraction) tensor;
        if (fraction.getNumerator() instanceof TensorNumber
                && fraction.getDenominator() instanceof TensorNumber) {
            TensorNumber num = (TensorNumber) fraction.getNumerator();
            num.divide((TensorNumber) fraction.getDenominator());
            tensor = null;
            return num;
        }
        return tensor;
    }
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.