Exemplo n.º 1
0
        public void Simple()
        {
            var vector = new VectorN(3);

            vector[0] = 23;
            vector[1] = -21;
            vector[2] = 4;
            vector.Normalize();
            Assert.AreEqual(1, vector.Magnitude());
        }