@Test
public void testDot() {

    DenseVector v1 = new DenseVector(new double[] {1.0, 1.0});
    DenseVector v2 = new DenseVector(new double[] {2.0, 2.0});
    Assert.assertEquals(Blas.dot(v1, v2), v1.dot(v2), 0.0);
}