Cross() 공개 메소드

public Cross ( Matrix by ) : Vector
by Matrix
리턴 Vector
예제 #1
0
        public void TestCrossVector()
        {
            Vector v = new Vector(2, 3, 4);
            Matrix m = new Matrix(5, 6, 7, 8, 9, 10);
            Vector shouldBe = new Vector(67, 76, 4);

            Vector rslt = v.Cross(m);
            Assert.AreEqual(shouldBe, rslt);
        }