Package com.numb3r3.common.math

Examples of com.numb3r3.common.math.Matrix.sub()


        ones.put(0, 0, 0.5);
        ones.put(0, 1, 0.3);
        ones.put(1, 1, 0.4);

        System.out.println("ONES: " + ones.dialog());
        System.out.println("SUB: " + ones.sub(InMemoryJBlasMatrix.eye(3)));
        System.out.println("EYE" + InMemoryJBlasMatrix.eye(5));

        Matrix m = InMemoryJBlasMatrix.rand(5, null);
        m = m.product(m.transpose());
        System.out.println(m + "\n");
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.