Package mikera.matrixx.impl

Examples of mikera.matrixx.impl.DiagonalMatrix.compose()


  @Test
  public void testDiagonalMatrix() {
    DiagonalMatrix d = DiagonalMatrix.create(1, 2);
    Matrix22 m = new Matrix22(1, 2, 3, 4);

    assertEquals(new Matrix22(1, 2, 6, 8), d.compose(m));
    assertEquals(new Matrix22(1, 4, 3, 8), m.compose(d));
  }

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