Examples of MatrixAsVector


Examples of mikera.matrixx.impl.MatrixAsVector

    AMatrix m2=Matrixx.createRandomSquareMatrix(3);
    doGenericTests(m2.asVector());
    doGenericTests(m2.getRow(1));
    doGenericTests(m2.getColumn(1));
    doGenericTests(m2.getLeadingDiagonal());
    doGenericTests(new MatrixAsVector(m2));
  }
View Full Code Here

Examples of mikera.matrixx.impl.MatrixAsVector

    AMatrix m3=Matrixx.createRandomMatrix(4,5);
    doGenericTests(m3.asVector());
    doGenericTests(m3.getRow(2));
    doGenericTests(m3.getColumn(2));
    doGenericTests(m3.subMatrix(1, 1, 2, 3).asVector());
    doGenericTests(new MatrixAsVector(m3));
  }
View Full Code Here

Examples of mikera.matrixx.impl.MatrixAsVector

    if (rc == 1) return getRowView(0);
   
    int cc= columnCount();
    if (cc==1) return getColumnView(0);

    return new MatrixAsVector(this);
  }
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.