Examples of fnorm()


Examples of jinngine.math.Matrix3.fnorm()

    public void testFNorm() {
        Matrix3 m = new Matrix3(
                1., 4., -7.,
                2., -5., 8.,
                3., 6., 9.);
        assertEquals(16.881943016134134, m.fnorm());
        assertMatrixEquals(new double[]{
                    1., 4., -7.,
                    2., -5., 8.,
                    3., 6., 9.}, m);
        assertEquals(1.7320508075688772, Matrix3.identity().fnorm());
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.