Package cc.redberry.core.tensor

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


            TensorIterator iterator = tensor.iterator();
            Tensor current;
            while (iterator.hasNext()) {
                current = iterator.next();
                if (current instanceof TensorNumber) {
                    number.multiply((TensorNumber) current);
                    iterator.remove();
                }
            }
            return new SplitNumber(number, tensor.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.