@Test public void testSet() { Matrix33 matrix = new Matrix33(); matrix.set(1,2,3,4,5,6,7,8,9); assertTrue(1==matrix.get(0,0)); assertEquals(2.0,matrix.get(0,1),0.01); assertTrue(3==matrix.get(0,2)); assertTrue(4==matrix.get(1,0)); assertTrue(5==matrix.get(1,1)); assertTrue(6==matrix.get(1,2)); assertTrue(7==matrix.get(2,0)); assertTrue(8==matrix.get(2,1)); assertTrue(9==matrix.get(2,2)); }
public void set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22 ) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m[2][2] = m22; }
Matrix33 { public void set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22 ) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m[2][2] = m22; } }
Matrix33 { public void set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22 ) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m[2][2] = m22; } Matrix33();  Matrix33(double m00, double m01, double m02, 
	                double m10, double m11, double m12,
	                double m20, double m21, double m22); }
Matrix33 { public void set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22 ) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m[2][2] = m22; } Matrix33();  Matrix33(double m00, double m01, double m02, 
	                double m10, double m11, double m12,
	                double m20, double m21, double m22); static Matrix33 makeTranslate(double x, double y); static Matrix33 makeScale(double sx, double sy ); void set(double m00, double m01, double m02, 
			        double m10, double m11, double m12,
			        double m20, double m21, double m22 ); Vector2 transform(Vector2 vector); Box2D transform(Box2D box); Matrix33 multiply(Matrix33 rhs); double determinant(); Matrix33 inverse(); void set(int row, int col,double value); double get(int row, int col); void setTranslationX(double value); void setTranslationY(double value); double getTranslationX(); double getTranslationY(); double getScaleX(); double getScaleY(); double getShearX(); double getShearY(); String toString(); }
Matrix33 { public void set(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22 ) { m[0][0] = m00; m[0][1] = m01; m[0][2] = m02; m[1][0] = m10; m[1][1] = m11; m[1][2] = m12; m[2][0] = m20; m[2][1] = m21; m[2][2] = m22; } Matrix33();  Matrix33(double m00, double m01, double m02, 
	                double m10, double m11, double m12,
	                double m20, double m21, double m22); static Matrix33 makeTranslate(double x, double y); static Matrix33 makeScale(double sx, double sy ); void set(double m00, double m01, double m02, 
			        double m10, double m11, double m12,
			        double m20, double m21, double m22 ); Vector2 transform(Vector2 vector); Box2D transform(Box2D box); Matrix33 multiply(Matrix33 rhs); double determinant(); Matrix33 inverse(); void set(int row, int col,double value); double get(int row, int col); void setTranslationX(double value); void setTranslationY(double value); double getTranslationX(); double getTranslationY(); double getScaleX(); double getScaleY(); double getShearX(); double getShearY(); String toString();  }