Examples of PermutedMatrix


Examples of mikera.matrixx.impl.PermutedMatrix

  @Test public void g_PermutedMatrix() {
    // 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
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.