@Test
public void testScalSparse() {

    double[] data = new double[] {1.0, 1.0};
    double alpha = 2.0;
    SparseVector v = sparseFromArray(data);
    Vector exp = sparseFromArray(data).times(alpha);
    Blas.scal(alpha, v);
    Assert.assertEquals(v, exp);
}