Package org.matrix

Examples of org.matrix.Matrix.clear()


    @Test
    public void clearMatrix() {
        Matrix myMatrix = new Matrix(1,1);
        myMatrix.set(0, 0, 1.0);
        assertFalse(myMatrix.isZero());
        myMatrix.clear();
        assertTrue(myMatrix.isZero());
    }
    @Test
    public void cloneAndEqualMatrixes() {
        Matrix myMatrix = new Matrix(2, 2);
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.