| mat.ex.set(3, 19, -5);
mat.ey.set(-1, 1, 4);
mat.ez.set(-10, 4, 4);
Vec3 b = new Vec3(4, 1, 2);
assertEquals(new Vec3(0.096f, 1.1013334f, -.48133332f), mat.solve33(b));
Vec2 b2 = new Vec2(4, 1);
assertEquals(new Vec2(0.22727273f, -3.318182f), mat.solve22(b2));
}
|