Beispiel #1
0
        public void Scale_ShouldSucceed()
        {
            VectorXD A            = new VectorXD(Enumerable.Range(1, 4).Select(n => (double)n).ToArray());
            var      scaledVector = A.Scale(2.0);

            Assert.Equal(new VectorXD(new double[] { 2, 4, 6, 8 }), scaledVector);
        }