Beispiel #1
0
        public void DotTest()
        {
            float[] x        = { 1, 2, 3 };
            float[] y        = { 10, 10, 10 };
            float   expected = 60f;

            float result = VectorOp.Dot(x, y);

            Assert.Equal(expected, result);
        }
Beispiel #2
0
 public void DotGenericVector()
 {
     VectorOp.Dot(x, y);
 }