public virtual void DotOperationExceptionTest()
        {
            InsightsVector rowVec = new InsightsVector(4, 1);
            InsightsVector colVec = new InsightsVector(3, 2);
            Exception      ex     = Assert.Throws <Exception>(() => rowVec.dot(colVec));

            Assert.Equal("[InsightsVector][dot] invalid vector size.", ex.Message);
        }
        public virtual void DotOperationTest()
        {
            InsightsVector rowVec = new InsightsVector(3, 1.1);
            InsightsVector colVec = new InsightsVector(3, 2.2);

            double expect = 1.1 * 2.2 * 3;
            double actual = rowVec.dot(colVec);

            Assert.Equal(expect, actual, 0);
        }