Пример #1
0
        public void ScaleInplace_ShouldSucceed()
        {
            var A = new VectorXD(Enumerable.Range(1, 4).Select(n => (double)n).ToArray());

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