Examples of NumberFraction


Examples of cc.redberry.core.number.NumberFraction

        if (generatedTensors.isEmpty())
            return TensorNumber.createZERO();
        if (generatedTensors.size() == 1)
            return generatedTensors.get(0);
        if (multiplyFactorial) {
            TensorNumber num = new TensorNumber(new ComplexElement(new NumberFraction(1, generatedTensors.size()), RationalElement.ZERO));
            return new Product(num, new Sum(generatedTensors).equivalent());
        } else
            return new Sum(generatedTensors).equivalent();
    }
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.