Examples of VectorMatrixM3


Examples of mikera.matrixx.impl.VectorMatrixM3

   
 
 
  @Test public void g_VectorMatrix() {
    // specialised Mx3 matrix
    VectorMatrixM3 mm3=new VectorMatrixM3(10);
    Arrayz.fillNormal(mm3,101);
    doGenericTests(mm3);
    doGenericTests(mm3.subMatrix(1, 1, 1, 1));
 
    // general M*N matrix
    VectorMatrixMN mmn=new VectorMatrixMN(6 ,7);
    randomise(mmn);
    doGenericTests(mmn);
View Full Code Here

Examples of mikera.matrixx.impl.VectorMatrixM3

import org.junit.Test;

public class TestVectorMatrix {

  @Test public void testCreateM3() {
    VectorMatrixM3 m=new VectorMatrixM3(0);
    assertEquals(0,m.rowCount());
    assertEquals(3,m.columnCount());
   
    AMatrix mt=m.getTranspose();
    assertEquals(0,mt.columnCount());
  }
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.