Example #1
0
  @Test
  public void testMatrixInPlaceMultiplication() {
    R2x2 mat1 = R2x2.newIdentity();
    R2x2 mat2 = R2x2.newIdentity();

    mat1.timesEquals(mat2);

    Assert.assertTrue(mat1.isEquivalentTo(MAT_I));

    //        System.out.println("\nThe matrix in place multiplication test");
    //        System.out.println( mat1.toString() );
  }