Package mikera.matrixx.impl

Examples of mikera.matrixx.impl.VectorMatrixMN.rowCount()


    // general M*N matrix
    VectorMatrixMN mmn=new VectorMatrixMN(6 ,7);

    // permuted matrix
    PermutedMatrix pmm=new PermutedMatrix(mmn,
        Indexz.createRandomPermutation(mmn.rowCount()),
        Indexz.createRandomPermutation(mmn.columnCount()));
    doGenericTests(pmm);
    doGenericTests(pmm.subMatrix(1, 4, 1, 5));
   
 
View Full Code Here


    assertEquals(0,mt.columnCount());
  }
 
  @Test public void testCreateMN() {
    VectorMatrixMN m=new VectorMatrixMN(0,3);
    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.